CRMJettyBack to crmjetty.com
Menu

Salesforce

Introduction

Hosting and deployment

Account and billing

Connect your CRM

Payments

Widgets

Admin and dashboards

Portal users

Email and notifications

Forms

Lists

Pages

Roles and permissions

Branding and navigation

Workflows

Support and knowledge base

Languages

Login and security

CRM connection and sync

Integrations and AI

More

Docs / Salesforce

Salesforce Customer Portalv6.3.0

Guides / Connect your CRM

How to Find Your Salesforce Consumer Key and Secret

4 min readUpdated
Short answerIn Salesforce Setup, open External Client App Manager, open your app, and on the Settings tab select Consumer Key and Secret to copy the Consumer Key and Consumer Secret. Reset your security token from your personal settings; Salesforce emails it to you. Enter the values under Settings → Portal Settings → CRM Authentication.

The portal connects to Salesforce through an external client app (older orgs may use a connected app). Salesforce generates two credentials for that app: the Consumer Key and the Consumer Secret. These are Salesforce’s names for the OAuth client ID and client secret. Depending on how you connect, the portal also asks for your Salesforce username, password and security token.

Before you start

What the portal asks for

Value Where it comes from
License Key (if the page asks for it) From CRMJetty when you purchase the portal.
Consumer Key Your Salesforce app. The OAuth client ID.
Consumer Secret Your Salesforce app. The OAuth client secret.
Username The Salesforce username of the user the portal connects as.
Password That user’s Salesforce password.
Security token Salesforce emails it to that user when they reset it.
Environment (older versions: Mode) Live for your production org or Sandbox for a test org.

Note: If you connect with a username, password and security token, your Salesforce org must allow the OAuth username-password flow. Newer orgs block it by default. See How to Set Up a Salesforce Connected App for the Portal.

Note: If you connect with JWT authentication, the connection uses the Consumer Key, the Salesforce username and your private key file (server.key) instead of a password and security token. See How to Set Up Salesforce JWT Authentication for the Portal.

Find the Consumer Key and Consumer Secret

  1. In Salesforce, go to Setup.
  2. Type External Client App Manager in the Quick Find box and select it.
  3. Find your app, open its row menu and select Edit Settings, or select the app name to open it.
  4. Select the Settings tab and expand OAuth Settings.
  5. Select Consumer Key and Secret.
OAuth Settings section of the Settings tab with the Consumer Key and Secret button highlighted
  1. If Salesforce asks you to verify your identity, approve the request in Salesforce Authenticator or enter the verification code it sends you.
Salesforce identity verification page asking to approve the request in Salesforce Authenticator
  1. On the Consumer Details page, copy the Consumer Key and the Consumer Secret.
Consumer Details page showing the Consumer Key and Consumer Secret with Copy buttons

Note: If your org still uses a connected app, select App Manager, open the app’s row menu, select View, then select Manage Consumer Details.

Important: Treat the Consumer Secret like a password. Do not share it by email or chat, and do not store it in plain text.

Get your security token

  1. In Salesforce, select your profile picture, then Settings.
  2. Under My Personal Information, select Reset My Security Token.
  3. Select Reset Security Token.
  4. Open the email Salesforce sends and copy the token.

Note: Salesforce sends a new security token when the user’s password changes. Update the token in the portal after every password change.

Enter the values in the portal

  1. Sign in to the portal admin.
  2. Go to Settings → Portal Settings → CRM Authentication.
  3. Enter the OTP sent to the super admin’s registered email address.
  4. Enter the values from the table above.
  5. Select Save.

For help with a field, select its tooltip icon and then Click Here. The tooltip explains where to get the client secret and security token.

Troubleshooting

The connection fails after a password change: the security token changed. Reset it again if needed and enter the new token in the portal.

You can’t see Manage Consumer Details: your Salesforce user needs permission to manage connected apps. Ask your Salesforce admin.

Did this solve it?No, contact support