{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21558,"path":"integrate-applications/integration-hub/setup-qualtrics.md","title":"Set up the Qualtrics spoke","bundle":null,"doc_type":null,"release":"australia","body":"\n# Set up the Qualtrics spoke\n\nIntegrate the ServiceNow instance and Qualtrics by registering Qualtrics as an OAuth provider to authenticate ServiceNow requests.\n\n## Before you begin\n\n-   Request an Integration Hub subscription.\n-   Activate the Qualtrics spoke.\n-   Role required: admin.\n\n## Obtain required details from Qualtrics account\n\nCopy and record the values of token, Organization ID, Client ID, and Client secret from your Qualtrics account for authentication.\n\n### Before you begin\n\nRole required: admin\n\n### Procedure\n\n1.  Log in to your Qualtrics account as an admin.\n\n2.  Navigate to **Account Settings** &gt; **Qualtrics IDs**.\n\n3.  Under **User**, copy and record the values of **Organization ID** and **Datacenter ID**.\n\n4.  Under **Directories**, copy and record the value of **Default Directory**.\n\n5.  Under **API**, copy and record the value of **Token**.\n\n    \\[Omitted image \"qualtrics-values.png\"\\] Alt text: Copy the required values from Qualtrics account.\n\n6.  Click the **OAuth Client Manager** tab.\n\n7.  Click **Create Client**.\n\n8.  On the form, fill the values.\n\n    |Field|Description|\n    |-----|-----------|\n    |Name|Name to identify the client record.|\n    |Scopes|Select `manage:all`.|\n    |Grant Type|Select `Client Credentials`.|\n\n9.  Click **Create Client**.\n\n    \\[Omitted image \"qualtrics-clientvalues.png\"\\] Alt text: Copy and record the values of client ID and client secret.\n\n    The values of Client ID and Client Secret are displayed. Copy and record these values for later use.\n\n\n## Configure a connection\n\nAdd and configure a Qualtrics connection to authenticate ServiceNow requests.\n\n### Before you begin\n\nRole required: admin\n\n### Procedure\n\n1.  Navigate to **Process Automation** &gt; **Flow Designer**.\n\n2.  Click the **Connections** tab.\n\n3.  Locate the alias for **Qualtrics** and click **View Details**.\n\n    **Note:** Don't click **Add Connection**.\n\n    \\[Omitted image \"qualtrics-view.png\"\\] Alt text: View connection details.\n\n4.  If you are configuring the spoke for the first time, click **Configure**.\n\n    \\[Omitted image \"qualtrics-conf.png\"\\] Alt text: Configure connection record.\n\n5.  On the Configure Connection form, fill in the fields.\n\n<table id=\"table_vfh_vjg_dtb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nConnection Name\n\n</td><td>\n\nName to identify the connection record.\n\n</td></tr><tr><td>\n\nConnection URL\n\n</td><td>\n\nBase URL to connect to **Qualtrics**. Enter: `https:<Organization-ID>.qualtrics.com/API/v3`\n\n</td></tr><tr><td>\n\nX-API-TOKEN\n\n</td><td>\n\nUnique token you had copied from the Qualtrics account settings.\n\n</td></tr><tr><td>\n\nOAuth Name\n\n</td><td>\n\nName to identify the application registry record.\n\n</td></tr><tr><td>\n\nOAuth Client ID\n\n</td><td>\n\nClient ID you had copied when you created a client in your Qualtrics account.\n\n</td></tr><tr><td>\n\nOAuth Client Secret\n\n</td><td>\n\nClient Secret you had copied when you created a client in your Qualtrics account.\n\n</td></tr><tr><td>\n\nToken URL\n\n</td><td>\n\nOAuth server token endpoint. Enter: `https://<Data-Center-ID>.qualtrics.com/oauth2/token`.**Note:** Select the Qualtrics data center based on your geographic location.\n\n</td></tr></tbody>\n</table>6.  Click **Configure and Get OAuth Token**.\n\n\n### Result\n\nThe spoke is configured and ready to be used.\n\n## Configure system parameter\n\nConfigure the system parameter **sn\\_qualtrics\\_spoke.qualtrics\\_directory** and specify the Qualtrics Directory ID that can be used in the flows.\n\n### Before you begin\n\nRole required: admin.\n\n### Procedure\n\n1.  In the filter navigator, enter `sys_properties.list`.\n\n2.  Search and open the record with **Name** as **sn\\_qualtrics\\_spoke.qualtrics\\_directory**.\n\n3.  In **Value**, specify the Qualtrics Directory ID.\n\n4.  Click **Update**.\n\n\n"}}