Skip to content

Getting started with GraphQL

Set up GraphQL in your server

Step 1

You will need to generate an API token for access to GraphQL.

Step 2

The server will need to have an environment variablefor storing the GraphQL Api Token in order to utilize requests forviewing content stored in CM Box.

Step 3

You can then create the GraphQL Client inside your project.

Step 4

You can now query content from the CM Box repository.

Step 5

You can customize this query to retrieve specific items from the CMBox repository. You can use the GraphQL explorer or Postman to testyour queries.