What if I don't want to use the prebuilt SDK in React? Is there a way to call the login function directly?
Yes, if you're interested in a more custom approach, follow the instructions under the Login with DIMO > Don't use React section.
What is the permissions template? How do I use it?
The permissions template is a set of pre-defined SACD permissions that a developer may need. As of December 2024, we support two sets of permissions:
Permission Template 1- Every data permission
Permission Template 2- Every data permission except commands
To use the permission templates, simply feed in permissionTemplateId to the Login with DIMO component as input. An example might look like:
https://login.dimo.org/?clientId=<clientId>&redirectUri=<redirectUri>&permissionTemplateId=1&entryState=VEHICLE_MANAGER
TypeScript: Data SDK
I'm getting a ERR_UNSUPPORTED_DIR_IMPORT error when using the SDK
This is a common issue for users who are using a plain NodeJS environment. For scalability of your backend code, we recommend using a strongly-typed TypeScript environment. For additional information on how to set up a Node project using TypeScript, follow this guide to get started.
Python: Data SDK
I'm having issues obtaining an access_token
Previous versions of the SDK included a web3 dependency that contained breaking changes. As a first step, please ensure that you're on the latest version of the SDK: https://pypi.org/project/dimo-python-sdk/
You can use pip install dimo-python-sdk --upgrade to get the latest.
From there, make sure that you have a valid Developer License via the Dev Console, and that you're entering the correct values for your client_id, domain, and private_key.
I'm trying to integrate the SDK with another application, but I'm running into dependency conflicts. What can I do?
Please reach out to us directly via the #build-on-dimo Discord channel.