GraphQL
GraphQL
Follow these steps to connect GraphQL to your CData Connect Cloud account:
-
Open the Connections page of the CData Connect Cloud dashboard.
-
Click + Add Connection in the upper-right corner.
-
Type GraphQL into the search field, then click the data source name.
-
On the Basic Settings tab of the new connection, enter a connection name or keep the default name.
-
Enter the URL of your GraphQL service.
-
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.
Basic
-
Enter the GraphQL username for authentication into User.
-
Enter the user password.
-
At the top of the CData Connect Cloud 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
-
Enter the OAuth Client Id assigned when you registered your GraphQL account for OAuth.
-
Enter the OAuth Client Secret for your GraphQL account for OAuth.
-
Enter the OAuth Authorization URL where the user logs into the service.
-
Enter the OAuth Access Token URL where the request for the access token is made.
-
Click Sign in to connect securely through OAuth. This action opens the GraphQL sign-in page in a new tab.
-
Log into your GraphQL account and provide the requested permissions (if applicable).
-
At the top of the CData Connect Cloud 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
-
Enter the OAuth Client Id assigned when you registered your GraphQL account for OAuth.
-
Enter the OAuth Authorization URL where the user logs into the service.
-
Enter the OAuth Access Token URL where the request for the access token is made.
-
At the top of the CData Connect Cloud 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 Cloud and GraphQL, see this information page.