Contentful

contentful-hasura-remote-schema

Contentful is an API First CMS to build Digital products. It offers a GraphQL API which can be joined with Hasura using Remote Schema.

Adding Contentful as Remote Schema

  • Get the GraphQL Content API Endpoint in the following format:
https://graphql.contentful.com/content/v1/spaces/<space-id>

And replace <space-id> with the appropriate value.

  • In Contentful dashboard, click on Settings. Under Space Settings click on API keys. Copy the Space ID and paste in the above endpoint.
  • Now copy Content Delivery API - access token and use it in Authorization headers like below:
Authorization: Bearer <access_token>
  • In Hasura Console, head to Remote Schemas and enter GraphQL Server URL with the above contentful endpoint. Under Additional Headers, enter the Authorization header with the access_token as mentioned above.
Video demo
Released: June 10, 2021
Developed by: Contentful
Category: CMS

We’d love to connect with you at one of our many global events.

Event
HasuraCon 2021HasuraCon 2021Community call
Ready to get started?
Start for free on Hasura Cloud or you could contact our sales team for a detailed walk-through on how Hasura may benefit your business.
Get monthly product updates
Sign up for full access to our product and community highlights, new features, and occasional baby animal gifs! Oh, and we have a strict no-spam rule. ✌️