---
schema_version: "1"
id: 89963786662305084d9a8a9a60c97b5a9bc7b6011a893fe720e505eded0decfe
title: Create a Named Credential for Automotive Scheduler
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/auto_scheduler_named_credential.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.auto_scheduler_named_credential.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c43a3a02359010a163d18d293bdf0c47974fde69b485a90505cdd6070f84b5f9
description: 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.
products:
  - Automotive
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d38867e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d38867e63 ">To manage connected apps and create a named credential:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d38867e63 ">Customize Application AND either Modify All Data OR Manage Connected Apps</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-automotive-264-0-0-production-enus/55098325-b838-4fed-9e79-8cfa2d7b33a3/images/icon_note.png)

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](https://help.salesforce.com/s/articleView?id=xcloud.external_client_apps.htm&language=en_US) instead. If you must continue creating connected apps, contact Salesforce Support.

See [New connected apps can no longer be created in Spring ‘26](https://help.salesforce.com/s/articleView?id=005228017&type=1&language=en_US) for more details.

Make sure you enable Automotive and Automotive Scheduler settings in your org.

1. Create a connected app to enable an external application to integrate with Salesforce using APIs and the OAuth standard protocol.
    1. From Setup, enter External Client Apps in the Quick Find box, then select **Settings** in the External Client App section.
    2. Click **New Connected App**.
    3. Enter a connected app name, such as AutoConnectedApp.
    4. Enter your email address.
    5. Select **Enable OAuth Settings**.
    6. Enter https://login.salesforce.com as a placeholder for the callback URL.
        
        You must change the callback URL after you complete step 2.
    7. From Available OAuth Scopes, select all scopes and add them to Selected OAuth Scopes.
    8. Click **Save**.
    9. Click **Continue**.
    10. Click **Manage Consumer Details**.
        
        A new window opens and a verification code is sent to your registered email address.
    11. 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.
2. Update the authentication provider for the AutoConnectedApp connected app with the consumer details.
    1. From Setup, in the Quick Find box, enter Auth. Providers, and then select **Auth. Providers**.
    2. Enter name as AutoAuthProvider.
    3. Select Provider as **Salesforce**.
    4. Enter the consumer key value from the connected app definition.
    5. Enter the consumer secret value from the connected app definition.
    6. For Authorize Endpoint URL, enter the Salesforce Classic URL suffixed with
    7. Click **New**.
    8. /authorize.
    9. For Token Endpoint URL, enter the Salesforce Classic URL suffixed with /token.
    10. For Default Scopes, enter refresh\_token full.
    11. Select **Include Consumer Secret in SOAP API Responses**.
    12. Click **Save**.
        
        ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-automotive-264-0-0-production-enus/55098325-b838-4fed-9e79-8cfa2d7b33a3/images/icon_important.png)
        
        Important Update the AutoConnectedApp configuration with the callback URL that is displayed in the Salesforce Configuration section of the Auth. Provider record page.
3. Create a named credential that can be associated to all users for a user profile.
    1. From Setup, in the Quick Find box, enter Named Credentials, and then select **Named Credentials**.
    2. Click **New**, and **New Legacy**.
    3. Enter AUTOSCHEDULER as the label and the name.
        
        ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-automotive-264-0-0-production-enus/55098325-b838-4fed-9e79-8cfa2d7b33a3/images/icon_important.png)
        
        Important Enter the exact name to ensure that the predefined OmniScript-based appointment scheduling flows in Automotive Cloud don’t fail.
    4. For URL, enter the org’s URL.
    5. For Identity Type, select **Named Principal**.
    6. For Authentication Protocol, select **OAuth 2.0**.
    7. For Authentication Provider, select **AutoAuthProvider**.
    8. For Scope, enter **refresh\_token full**.
    9. Select **Start Authentication Flow on Save**.
    10. Click **Save**.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-automotive-264-0-0-production-enus/55098325-b838-4fed-9e79-8cfa2d7b33a3/images/icon_note.png)
        
        Note Log in to the org using your credentials. If authentication is successful, you see the Authentication Status field updated with your username.