---
title: Creating A Connected App In Salesforce
description: "## What is a Connected App? Quality Clouds authenticates with Salesforce by creating a Connected App and obtaining an OAuth token to access your org via the REST and Metadata APIs. Connected Apps add additional levels of control, allowing administrators explicit…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/connecting-salesforce-qualityclouds/creating-a-connected-app-in-salesforce/"
updated: "2025-03-21"
category: Connecting Salesforce with QualityClouds
---

# Creating A Connected App In Salesforce

## What is a Connected App?

Quality Clouds authenticates with Salesforce by creating a Connected App and obtaining an OAuth token to access your org via the REST and Metadata APIs.

Connected Apps add additional levels of control, allowing administrators explicit control over who can use the application, and various security policies to be enforced by the application. 

 What is a Connected App?

## Creating a Connected App

→ To create a Connected App

1. Use Salesforce to create a new connected app.
   - In Lightning Experience, use the App Manager to create connected apps. From Setup, enter App in the Quick Find box, then select **App Manager**. Click **New Connected App**.
   - In Salesforce Classic, from Setup, enter Apps in the Quick Find box, then select **Apps** (under **Build** | **Create**). Under Connected Apps, click **New**.
     [https://lh4.googleusercontent.com/qs95ISk2oMgxsg2jRGc34XGL7XlCigtrhLlKQHFiFnbHs-R87LPZn7zWPTDxAQkCogPxZtVeXe1quPx3gVl9MRsDZfcHVKZAv9sTUbIHsBJPzpAAUcnr6FFjP5crziQBhzQFTJEp](https://lh4.googleusercontent.com/qs95ISk2oMgxsg2jRGc34XGL7XlCigtrhLlKQHFiFnbHs-R87LPZn7zWPTDxAQkCogPxZtVeXe1quPx3gVl9MRsDZfcHVKZAv9sTUbIHsBJPzpAAUcnr6FFjP5crziQBhzQFTJEp)
2. Fill in the following information:
   - Connected App Name: `QualityClouds`
   - API Name: `QualityClouds`
   - Contact Email: `help@qualityclouds.com`
   - Contact Phone: `+44 20 3290 0456`
   - Description: `QualityClouds connection for REST API calls`
3. Select **Enable OAuth Settings**.
4. Set the Callback URL to: [https://scan.qualityclouds.com/sf_instance/code_callback](https://scan.qualityclouds.com/sf_instance/code_callback).
5. From **Available OAuth Scopes**, add **Manage User Data via APIs (api)**, and **Perform requests on you behalf at any time (refresh_token, offline_access)**. These settings allow Quality Clouds to access the logged-in user’s account using APIs, such as REST API and Bulk API. They also allow Quality Clouds to refresh the token if it has expired, up to the expiration date of the refresh token itself, which can be configured on the Connected App.
6. Disable the checkbox '**Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows**'.
7. Select **'Enable Client Credentials Flow'**
8. Click **Save and continue**.

![](https://qualityclouds.com/documentation/wp-content/uploads/2024/03/AppManager-1024x529.png)

The `Consumer Key `is created and displayed, and the `Consumer Secret` is created (click the link to reveal it).

Note the `Consumer Key `and the `Consumer Secret` values to use it in the [setup of your Salesforce environment in Quality Clouds](https://qualityclouds.com/documentation/docs/qc/connecting-salesforce/setting-up-salesforce-orgs/). 

![](https://qualityclouds.com/documentation/wp-content/uploads/2024/03/image2019-5-24_17-45-38-1024x265.png)

You can now continue the set-up by [defining your orgs in Quality Clouds](https://qualityclouds.com/documentation/docs/qc/connecting-salesforce/setting-up-salesforce-orgs/). 
