Skip to main content

Client SDK - DIMO Connect

Get Data Permissions From Vehicle Owners

DIMO Connect is a user interface built on our robust privacy engine that allows app developers to specify and request data from vehicle owners. Developers can get started using either the React Component SDK (aka Login with DIMO) or by simply creating a DIMO Connect URL.

How It Works

1

Configure Your URL

DIMO Connect URL

Using the Client ID and Redirect URI from your Developer License, configure your DIMO Connect URL along with the specific vehicle data you want to request from your users.

Try it out

DIMO Connect URL Builder

Configure your DIMO Connect URL by filling out the fields below. The URL will be generated in real-time below.

If not set, permissions will expire in 100 years (default)
1
All-time, non-location data
Historical vehicle data excluding location information
2
Commands
Send commands to the vehicle (lock, unlock, start, etc.)
3
Current location
Real-time location data
4
All-time location
Historical location data
5
View VIN credentials
Access to vehicle identification number
6
Live data streams
Real-time telemetry data streaming
7
Raw data
Unprocessed vehicle data
8
Approximate location
General location area (not precise coordinates)
2

Share with Users

Login with DIMO

Users using your DIMO Connect URL can grant you permissions to begin accessing their vehicle data.

3

Check Vehicle Status

Login with DIMO

Use the DIMO Developer Console or the Identity API to track which vehicles have shared permissions with you.

Try it out

Identity API

GraphQL QUERY

GraphQL Variables

Client ID of your Developer License
4

Get Vehicle JWT

Try it out

Exchange Developer JWT for a Vehicle JWT

POST

Request Parameters

Select one or more by clicking while holding down Command (⌘ on a Mac) or Ctrl (PC)
{
  "nftContractAddress": "0xbA5738a18d83D41847dfFbDC6101d37C69c9B0cF"
}
5

Start Getting Data

Step 5 illustration

Begin polling the DIMO APIs or setting up DIMO Webhooks using one of the available Data SDKs.

Try it out

Telemetry API

GraphQL QUERY

GraphQL Variables

Vehicle Token ID of a shared vehicle

Using the SDK

If you are a React developer, you are more than welcome to use the SDK directly and skip using the DIMO Connect URL. The SDK is guaranteed to have more functionalities as the DIMO Connect URL is bounded by query parameter limitations.

Client SDK: DIMO Connect

Full Feature List

React SDKConnect URLDetails
Account Creation/LoginLogin with DIMO allow developers to onboard users to DIMO, enabling logins across all DIMO platforms with the use of a passkey or email OTP.
PermissionsThis is an optional entry state where users are asked to share their vehicles with your application, login is required before entering the vehicle permissions state.
Entry StatesMultiple entry states to customize user flow
Campaign TrackingUTM parameter allows you to drive campaigns with channel partners of yours, maximizing the potential of your application.
Advanced FilteringEnsure that vehicles are compatible with your app by applying filters on vehicle token IDs, vehicle brand, and/or powertrain types.
Custom Buttonℹ️Customize button style and text to fit your design needs
Custom Expiration DatesCustomize expiration dates for your user data permissions.
Popup ModeWeb popup mode
Advanced TransactionsExecute specific blockchain transactions
Customized MessagingCustomize text fields with your brand messaging to better cater to your audiences.
Callbacks (onSuccess/onError)Customizable actions on callbacks, ensuring a full e2e experience for your beloved users.
Vehicle Onboarding (beta)Onboarding new vehicles onto the DIMO Network, supports Tesla only.