{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21485,"path":"integrate-applications/integration-hub/setup-cornerstone.md","title":"Set up the Cornerstone spoke","bundle":null,"doc_type":null,"release":"australia","body":"\n# Set up the Cornerstone spoke\n\nIntegrate your Cornerstone application with your ServiceNow instance. Register an OAuth application in Cornerstone and authenticate requests from ServiceNow.\n\n## Before you begin\n\n-   Request an Integration Hub subscription.\n-   Activate the Cornerstone spoke.\n-   Role required: admin.\n\n## Register an application in the Cornerstone instance\n\nRegister an application in the Cornerstone instance and record the generated Client ID and Client Secret for later use.\n\n### Before you begin\n\nRole required: admin\n\n### Procedure\n\n1.  Log in to the Cornerstone instance as an admin.\n\n2.  Navigate to **Admin** &gt; **Tools**.\n\n    \\[Omitted image \"cornerstone-app.png\"\\] Alt text: Navigate to Admin &gt; Tools .\n\n3.  Click **EDGE**.\n\n4.  Click **API Management** under **Develop**.\n\n    \\[Omitted image \"cornerstone-app-1.png\"\\] Alt text: Access API Management.\n\n    The API Management window is displayed in a new browser tab.\n\n5.  Click the **Manage OAuth 2.0 Applications**.\n\n6.  Click **+ Register New Application**.\n\n7.  On the form, fill the values.\n\n    |Field|Description|\n    |-----|-----------|\n    |Application Name|Name to identify the application.|\n    |User ID|User ID for an active user account in your Cornerstone portal.|\n\n8.  Select the scopes as per your requirement.\n\n    \\[Omitted image \"cornerstone-app-2.png\"\\] Alt text: Select the required scopes.\n\n9.  Click **Register Application**.\n\n    The values of Client ID and Client Secret are generated. Copy and record these values for later use.\n\n\n## Configure connection for the Cornerstone spoke\n\nAdd and configure a Cornerstone connection to authenticate ServiceNow requests in Cornerstone spoke.\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 **Cornerstone** connection alias in the outbound connections.\n\n4.  Click **View Details**.\n\n    **Note:** Don't click **Add Connection**.\n\n5.  Click **Edit** or if you are configuring the spoke for the first time, click **Configure**.\n\n6.  On the form, fill in the fields.\n\n    |Field|Description|\n    |-----|-----------|\n    |Connection Name|Name to identify the connection record.|\n    |Connection URL|URL of the Cornerstone instance.|\n    |Base URL|URL of the Cornerstone instance.|\n    |OAuth Entity Name|Name to identify the application registry record.|\n    |OAuth Client ID|Client ID created during the application configuration in Cornerstone.|\n    |OAuth Client Secret|Client Secret created during the application configuration in Cornerstone.|\n    |Token URL|OAuth server token endpoint. For example, `https://<Cornerstone-Instance>.com/services/api/oauth2/token`.|\n\n7.  Click **Configure and Get OAuth Token**.\n\n\n### Result\n\nThe spoke connection is configured and ready to be used.\n\n"}}