# Contentful

![Contentful-logo.svg](https://assets.relyanceuat.xyz/images/docs/8656856297613/8656363732109.svg)
Contentful is a Platform-as-a-Service (PasS) that helps digital teams assemble content and deliver experiences. It provides the ability to create your own backend to manage content, and provides many tools which make it easier to generate a website or app.

In order to integrate Contentful with Relyance AI you will need to follow an Oauth2 work flow.

#### In the Relyance AI application:

1. Login to your Relyance account.
2. Navigate to the **Settings** Menu in the bottom left-hand side.
3. Select **Integrations**.
4. Click on the **Vendor Integration** tab.
5. Find the **Contentful** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Oauth2 / App Token**.
8. Click **Authenticate**.
9. This will bring you to the Contentful website. Sign in if needed.
10. You'll be prompted to authorize Relyance use your account.

![Contentful-1.png](https://assets.relyanceuat.xyz/images/docs/8656856297613/8656851532813.png)

![Contentful-2.png](https://assets.relyanceuat.xyz/images/docs/8656856297613/8656825466893.png)

11. Click **Authorize**.
12. At this point, you should see the following result on the **Vendor** Integrations page:

![Contentful-3.png](https://assets.relyanceuat.xyz/images/docs/8656856297613/8656851403021.png)

13. Congratulations, you are now connected to **Contentful**.

<!-- terraform-examples:begin (generated from the integration catalog; do not hand-edit) -->

## Manage this integration with Terraform

Connections for this integration can be managed as code with the [Relyance Terraform provider](https://registry.terraform.io/providers/Relyance/relyance/latest). Non-secret fields go in `auth.params`; secret fields go in `auth.secrets_wo`, which is write-only — never stored in Terraform state. Rotate secrets by bumping `auth.secrets_wo_version`.

The **OAuth (browser authorization)** method uses a browser authorization flow, so the connection is created in the Relyance app. Manage it in Terraform afterwards by importing it (`terraform import relyance_integration_connection.example contentful/<connection_id>`) or reading it with the `relyance_integration_connection` data source.

<!-- terraform-examples:end -->
