# 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="/files/XNSqJXXzjmwv9KJgwChX" 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*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.slapfive.com/integrations/salesforce/slapfive-app-spring-2024-4.0-and-earlier-versions/8.-create-and-configure-connected-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
