# 8. Create & Configure Connected App

## Create a new Connected App

Go to **Setup** > **Apps** > **App Manager** and click the **New Connected App** button in the upper right corner of the screen.

<figure><img src="https://2901117923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlkxMKaLwhXP9Cu98jtv6%2Fuploads%2Fsk7OgEuQhlK9xwd9sORg%2FScreenshot%202024-11-21%20160409.png?alt=media&#x26;token=80fc7f91-f554-4894-8b84-f31b657946c7" alt=""><figcaption><p>Create a new Connected App</p></figcaption></figure>

#### Basic Information:

* [ ] **Connected App Name:** enter *SlapFive Connected App*.
* [ ] **API Name:** this field is auto-generated.
* [ ] **Contact Email:** enter your email address.
* [ ] **Description:** enter *Connect SlapFive account with Salesforce*.
* [ ] Leave the remaining fields blank.

#### Web App Settings:

* [ ] **Start URL:** leave this field blank.
* [ ] **Enable SAML:** check this field and the following fields will now appear.
* [ ] **Entity Id**, enter *urn:auth0:slapfive:your\_instance\_name*, substituting the subdomain of your SlapFive instance URL for *your\_instance\_name*.
* [ ] **ACS URL:** enter *<https://auth.slapfive.com/login/callback_?_connection=your\\_instance\\_name>*, substituting the subdomain of your SlapFive instance URL for *your\_instance\_name*.
* [ ] **Subject Type:** select *Persistent ID*.
* [ ] **Name ID Format:** select the one that ends with *emailAddress*.
* [ ] **Issuer:** leave this set to the default value of the domain of your current org.
* [ ] **IdP Certificate:** leave this field set to *Default IdP Certificate*.

Click **Save**.

## Assign Profiles to the Connected App:

While still in **Setup** > **Apps** > **App Manager,** go to the right end of the row containing the Connected App you just created, click the drop-down and select **Manage**.

Scroll down to the **Profiles** section and click the **Manage Profiles** button.

Select the Profiles that you want to have access to the SlapFive features and click **Save**.

## Add Custom Attributes for User First and Last Name

While still on the Manage screen for the Connected App you created above, scroll down to the **Custom Attributes** section and click the **New** button.

Enter following values and click **Save**:

* [ ] **Attribute key:** *user\_first\_name*
* [ ] **Attribute value:** *$User.FirstName*

Click **New** again, enter the following values, and click **Save**:

* [ ] **Attribute key:** *user\_last\_name*
* [ ] **Attribute value:** *$User.LastName*
