# 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="https://2901117923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlkxMKaLwhXP9Cu98jtv6%2Fuploads%2F0yTZJUlvwvb6mk8Z0vUf%2FScreenshot%202022-10-28%20163643.png?alt=media&#x26;token=bcab5318-146c-4904-9bc2-2ebf1a2daaa7" 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.
