選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

Setting up Salesforce Online for connecting to Amazon Q Business

焦點模式
Setting up Salesforce Online for connecting to Amazon Q Business - Amazon Q Business
此頁面尚未翻譯為您的語言。 請求翻譯

Before you connect Salesforce Online to Amazon Q Business, you need to create and retrieve the Salesforce Online credentials you will use to connect Salesforce Online to Amazon Q. You will also need to add any authorization permissions needed by Salesforce Online to connect to Amazon Q.

The following procedure gives you an overview of how to configure Salesforce Online for Amazon Q.

Configuring Salesforce Online for Amazon Q
  1. Create a Salesforce Online instance at https://developer.salesforce.com/signup. Note the username and password you logged in with. Also note the Salesforce Online URL that's sent to your email on successful instance setup.

    You will need these pieces of information later to connect to Amazon Q.

  2. Log in to your Salesforce Online Developer Edition account at https://login.salesforce.com or Salesforce Online Sandbox Edition account at https://test.salesforce.com.

  3. From the Salesforce Online profile menu, copy your Salesforce Online URL, if you haven't already. This will be the URL you will input as host URL in Amazon Q.

    Salesforce setup home page with options for Einstein Bots, Mobile Publisher, and collaborative docs.
  4. Then, from the Salesforce Online profile menu, select the Setup icon and then select Setup.

    Salesforce Setup home page with options for Einstein Bots, Mobile Publisher, and collaborative docs.
  5. From the left navigation menu, on the Setup home page, go to Platform tools, select Apps, and then, select App manager.

    Then, from the Lightning Experience App Manager page, select New Connected App.

    Lightning Experience App Manager interface showing options to create a new app.
  6. On the New Connected App page, do the following:

    • In Basic information, enter the following required information:

      • Connect App Name – A name for your connected app.

      • API Name – A name for your API.

      • Contact Email – Your contact email.

      Form for basic information with fields for app name, API name, and contact email highlighted.

      Enter other values as per your use case.

    • In API (Enable OAuth Settings), select the checkbox to enable. Then, enter the following information:

      • Callback URL – Enter the following callback URL, depending on your Salesforce Online account type:

        • Developer Edition – https://login.salesforce.com/services/oauth2/token

        • Sandbox Edition – https://test.salesforce.com/services/oauth2/token

        Also, copy and save this URL in a text editor of your choice. You will enter this callback URL in Amazon Q later as Authentication URL.

      • Select OAuth Scopes – Select Full access (full) as your OAuth Scope.

      • Introspect All Tokens – Select this option to generate access tokens in a future step. You need this access token to connect to Amazon Q. You enter this as the Security token in the Amazon Q console.

      OAuth settings interface with options for callback URL, scopes, and security features.

      Select other options as per your use case.

    • Select Save.

  7. From the Manage Connected Apps page that opens, choose Manage Consumer Details. You will be redirected to a Connected App Name summary page.

    Manage Connected Apps interface with options to edit, delete, and manage app details.
  8. On the Connected App Name page, do the following:

    • From Consumer Details, copy and save the following in a text editor of your choice:

      • Consumer Key – You will need this to connect Salesforce Online to Amazon Q.

      • Consumer Secret – You will need this to connect Salesforce Online to Amazon Q.

      • Select Apply.

        Consumer Details section with Consumer Key and Secret fields, and Staged Consumer Details options.
  9. Next, you will generate a security token. Navigate back to your Salesforce Online account home page. From the Salesforce Online profile menu, select Settings.

    Salesforce Setup home page with options for Einstein Bots, Mobile Publisher, and collaborative docs.
  10. Then, from the left navigation menu, select My Personal Information. Then, select Reset My Security Token. Your security token will be sent to the email address connect to your Salesforce Online instance. You need this security token to connect Salesforce Online to Amazon Q.

    Salesforce interface showing steps to reset security token in personal settings menu.
  11. Then, you activate OAuth Username-Password Flow for the Salesforce Online Connected App you've created. From the left navigation menu, from Settings, select Identity and then select OAuth and OpenID Connect Settings.

  12. On the OAuth and OpenID Connect Settings, in OAuth and OpenID Connect Flows, make sure that both Allow OAuth Username-Password Flows and Allow OAuth User-Agent Flows are activated.

    OAuth and OpenID Connect settings page with options to allow username-password and user-agent flows.

    You now have the Salesforce Online host URL, username, password, security token, client ID, client secret, and authentication URL you need to connect Salesforce Online to Amazon Q.

下一個主題:

Using the console

上一個主題:

Prerequisites
隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。