> For the complete documentation index, see [llms.txt](https://docs.slapfive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.slapfive.com/integrations/salesforce/slapfive-advanced-app/2.-create-a-named-credential/create-a-legacy-named-credential.md).

# Create a Legacy Named Credential

Go to **Setup** > **Security** > **Named Credentials**.&#x20;

In the dropdown menu next to the **New** button, click **New Legacy** to create a new Named Credential record.

<figure><img src="/files/Asv8UUKgbOyD2qbmCLfI" alt=""><figcaption><p>Create a new Named Credential record</p></figcaption></figure>

When creating the new record:

* [ ] **Label:** enter *SlapFive API*.
* [ ] **Name:** will auto-fill with *SlapFive\_API*, do not change it.
* [ ] **URL:** enter the base URL of your SlapFive instance, which is <https://your\\_company\\_name.slapfive.com>.
* [ ] **Identity Type:** select **Named Principal**.
* [ ] **Authentication Protocol:** select **Password Authentication**.
* [ ] **Username:** enter *slapfive*.
* [ ] **Password:** paste your **SlapFive API Key**. To get this key, log into SlapFive, go into your Client Settings, generate an API key if one doesn't already exist, copy the API Key and paste it in this field.
* [ ] **Generate Authorization Header:** uncheck this field.
* [ ] **Allow Merge Fields in HTTP Header:** check this field.

Click the **Save** button to create the new Named Credential.
