# Snapchat

![Snapchat-Logo.png](https://assets.relyanceuat.xyz/images/docs/11578898951053/11578589069325.png)
Snapchat is an online social media platform where users can share texts, pictures, and videos.

In order to integrate Snapchat with Relyance AI you will need to follow an Oauth2 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 **Snapchat** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Oauth2 / App Token**.
8. Click **Authenticate**.
9. You may be asked to login to Snapchat.
10. You will be prompted to allow Relyance permissions to Snapchat. Click **Continue**.

![Snapchat-1.png](https://assets.relyanceuat.xyz/images/docs/11578898951053/11578693939469.png)

![Snapchat-3.png](https://assets.relyanceuat.xyz/images/docs/11578898951053/11578860323725.png)

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

![Snapchat-2.png](https://assets.relyanceuat.xyz/images/docs/11578898951053/11578693941389.png)

12. Congratulations, you are now connected to **Snapchat**.

<!-- 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 snapchat/<connection_id>`) or reading it with the `relyance_integration_connection` data source.

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