GraphQL


GraphQL


Setup Guide

Follow these steps to connect GraphQL to your CData Connect account:

  1. Open the Connections page of the CData Connect dashboard.

  2. Click + Add Connection in the upper-right corner.

  3. Type GraphQL into the search field, then click the data source name.

  4. On the Basic Settings tab of the new connection, enter a connection name or keep the default name.

  5. Enter the URL of your GraphQL service.

  6. If you do not need authentication, choose None in the Auth Scheme dropdown. Otherwise, select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

Basic

  1. Enter the GraphQL username for authentication into User.

  2. Enter the user password.

  3. At the top of the CData Connect Add GraphQL Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Then, try again.

OAuth

  1. Enter the OAuth Client Id assigned when you registered your GraphQL account for OAuth.

  2. Enter the OAuth Client Secret for your GraphQL account for OAuth.

  3. Enter the OAuth Authorization URL where the user logs into the service.

  4. Enter the OAuth Access Token URL where the request for the access token is made.

  5. Click Sign in to connect securely through OAuth. This action opens the GraphQL sign-in page in a new tab.

  6. Log into your GraphQL account and provide the requested permissions (if applicable).

  7. At the top of the CData Connect Add GraphQL Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Then, try again.

OAuthPKCE

  1. Enter the OAuth Client Id assigned when you registered your GraphQL account for OAuth.

  2. Enter the OAuth Authorization URL where the user logs into the service.

  3. Enter the OAuth Access Token URL where the request for the access token is made.

  4. At the top of the CData Connect Add GraphQL Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Then, try again.

More Information

For more information about interactions between CData Connect and GraphQL, see this information page.