Prerequisites
Before you begin, make sure you have configured your Smartcar application in the Smartcar Dashboard. You will need:- Your application’s
Client IDandClient Secret - A valid
redirect_urifor your application - The vehicle data you want to access (e.g., odometer, location, etc.)
Step 1: Launch Smartcar Connect
Direct your users to the Smartcar Connect URL. This can be done using the Smartcar SDK for your platform (web, iOS, or Android) or copying the URL from the Smartcar Dashboard. The user will:
- Select their vehicle brand
- Log in with their connected services account
- Review and approve the requested permissions
Step 2: Handle the Redirect and Get the Authorization Code
After the user authorizes access, Smartcar will redirect them back to your application using the default
redirect_uri you provided in your app configuration. The user_id query parameter will be needed for vehicle api requests. Read more about Connect redirect URL parameters here.Vehicle owners may occasionally need to re-authenticate due to OEM platform migrations, credential changes, or permission updates. Build your integration to handle these scenarios gracefully. See Handle Re-authentication for implementation guidance.

