Create your consumer key and consumer secret in Salesforce

list-menuFeedback?
1

Log in to Salesforce, then select Setup Menu > Setup.

2

Select Apps > App Manager > New External Client App.

This creates a client app that allows third-party systems, or your own systems, to securely access Salesforce data through OAuth authentication.
3

Complete the required information.

  1. External Client App Name—Enter a custom name.

  2. API Name—Enter a custom API name.

  3. Contact Email—Enter your email address.

  4. Distribution State—Select Local.

4

Under Enable OAuth Settings, check the Enable OAuth box.

5

Under App Settings, enter https://meetings-api.webex.com/wbxaddin/indexFor3rdAuth.html in the Callback URL box. This URL is used when users authorize Salesforce through the Webex client. It receives the access_ token and refresh_token and passes them to Webex.

6

In OAuth Scopes, select the following options:

  • Manage user data via APIs (api)—Allows the app to access and manage users' Salesforce data through APIs, such as REST API and SOQL.
  • Manage user data via web browsers (web)—Allows the app to interact with Salesforce through web browsers, including redirects to Salesforce login and authorization pages.
  • Perform requests at any time (refresh_token, offline_access)—Allows the app to automatically refresh tokens when the user is offline or when the access_token expires.
7

In Security, keep the three default options checked:

  • Require secret for Web Server Flow—Requires Client Secret in the Web Server Flow (OAuth authorization code flow) to verify app identity.
  • Require secret for Refresh Token Flow—Requires Client Secret when using refresh_token to refresh access_token.
  • Require Proof Key for Code Exchange (PKCE)—Requires PKCE extension for supported OAuth authorization flows.
8

Click Create to finish creating the app.

9

Click your newly created External Client App Name to retrieve the consumer key and consumer secret.

  1. On the Manage External Client Apps page, select OAuth Settings, then click Consumer Key and Secret.

  2. A code is sent to your registered email. On the verification page, enter the verification code.

  3. On the Consumer Details page, copy the consumer key and consumer secret.

What to do next

Enter your consumer key and consumer secret in Control Hub.

Was this article helpful?
Was this article helpful?