You are here:
Create a Named Credential for Automotive Scheduler
A named credential specifies the authentication parameters and the URL of a callout endpoint in one definition. Create a named credential for all users who create appointments so that they’re automatically authenticated by the application. The Created By field on a service appointment record displays their name. The OmniScript-based appointment flows use the named credential as an input parameter in the integration procedures to identify the user who initiates the appointment.
Required Editions
| Available in: Enterprise, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To manage connected apps and create a named credential: | Customize Application AND either Modify All Data OR Manage Connected Apps |
Note Connected apps creation is restricted as of Spring ‘26. You can continue to use existing
connected apps during and after Spring ‘26. However, we recommend using external client apps instead. If you must continue
creating connected apps, contact Salesforce Support.
See New connected apps can no longer be created in Spring ‘26 for more details.
Make sure you enable Automotive and Automotive Scheduler settings in your org.
-
Create a connected app to enable an external application to integrate with Salesforce using
APIs and the OAuth standard protocol.
- From Setup, enter External Client Apps in the Quick Find box, then select Settings in the External Client App section.
- Click New Connected App.
- Enter a connected app name, such as AutoConnectedApp.
- Enter your email address.
- Select Enable OAuth Settings.
-
Enter https://login.salesforce.com as a placeholder for the
callback URL.
You must change the callback URL after you complete step 2.
- From Available OAuth Scopes, select all scopes and add them to Selected OAuth Scopes.
- Click Save.
- Click Continue.
-
Click Manage Consumer Details.
A new window opens and a verification code is sent to your registered email address.
-
Enter the verification code, and click Verify.
Note the consumer key and consumer secret. You’ll update the authentication provider for the connected app with these details.
-
Update the authentication provider for the AutoConnectedApp connected app with the consumer
details.
- From Setup, in the Quick Find box, enter Auth. Providers, and then select Auth. Providers.
- Enter name as AutoAuthProvider.
- Select Provider as Salesforce.
- Enter the consumer key value from the connected app definition.
- Enter the consumer secret value from the connected app definition.
- For Authorize Endpoint URL, enter the Salesforce Classic URL suffixed with
- Click New.
- /authorize.
- For Token Endpoint URL, enter the Salesforce Classic URL suffixed with /token.
- For Default Scopes, enter refresh_token full.
- Select Include Consumer Secret in SOAP API Responses.
-
Click Save.
Important Update the AutoConnectedApp configuration with the callback URL that is displayed in the Salesforce Configuration section of the Auth. Provider record page.
-
Create a named credential that can be associated to all users for a user profile.
- From Setup, in the Quick Find box, enter Named Credentials, and then select Named Credentials.
- Click New, and New Legacy.
-
Enter AUTOSCHEDULER as the label and the name.
Important Enter the exact name to ensure that the predefined OmniScript-based appointment scheduling flows in Automotive Cloud don’t fail. - For URL, enter the org’s URL.
- For Identity Type, select Named Principal.
- For Authentication Protocol, select OAuth 2.0.
- For Authentication Provider, select AutoAuthProvider.
- For Scope, enter refresh_token full.
- Select Start Authentication Flow on Save.
-
Click
Save.
Note Log in to the org using your credentials. If authentication is successful, you see the Authentication Status field updated with your username.
Did this article solve your issue?
Let us know so we can improve!

