---
schema_version: "1"
id: 0d9094ae1779812e57eddd4dbaf6406b1192e9bbecd6bf2b9e0e7df63f70ec87
title: Create an External Client App for the OAuth 2.0 Client Credentials Flow
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/loyalty/guides/authorization.md
canonical_url: https://developer.salesforce.com/docs/industries/loyalty/guide/authorization.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 37eb0ab1850403082e2729dcfed8816cb508a7a6662f3f68fa54024fc13101b2
products:
  - Loyalty Management Integrations API
  - Industries Integrations
---
# Create an External Client App for the OAuth 2.0 Client Credentials Flow

Before you implement the client credentials flow, configure these settings and access policies for your external client app.

1. From Setup, in the Quick Find box, enter `External Client Apps`, and then select **Settings** under External Client Apps.
2. Turn on `Allow creation of connected apps` if it’s turned off.
3. Click **New Connected App**.
4. Enter the basic information.
   1. Enter the name of your connected app.
   2. Keep the default API name, which is automatically filled based on the connected app name.
   3. Enter your email address.
5. Under API (Enable OAuth Settings), select **Enable OAuth Settings**.
6. If the Callback URL isn’t auto-populated, enter a URL where Salesforce can send OAuth2 responses. For example, `https://login.salesforce.com/services/oauth2/success`.
7. Add the Manage user data via APIs (api) scope to the Selected OAuth Scopes list.
8. Select **Enable Client Credentials Flow**.
9. Read the information about the risks and click the warning.
10. Click **Continue** to save the new connected app.
11. On the new connected app, click **Manage**.
12. Click **Edit Policies**.
13. Under Client Credentials Flow, for Run As, click![Search](https://developer.salesforce.com/docs/media/loyalty-pos-search.png) and select the user that you want to assign the client credentials flow to.
14. Save your changes.

**See Also**

[Connected Apps](https://help.salesforce.com/s/articleView?id=sf.connected_app_overview.htm&type=5)
