> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyshift.io/llms.txt
> Use this file to discover all available pages before exploring further.

# HCP Integration

> Integrate Annie with HashiCorp Cloud Platform for Terraform backend and secrets management.

# HCP Integration

HCP integration will allow Annie to connect to HashiCorp Cloud Platform to retrieve state files data, in case they are not stored on S3.

## Setup Guide

1. Go to the [Anyshift integrations page](https://app.anyshift.io/integrations)
2. Navigate to the Terraform Backend / HCP Cloud section
3. Create HCP API credentials to connect your HCP account

### 1. HCP Cloud URL

Usually [https://app.terraform.io](https://app.terraform.io), but it can vary if you are doing self-hosting

### 2. Workspace

HCP cloud workspace the credentials will be used for. We support workspaceID and `organization/workspace` format.

### 3. Token

Create a token in your HCP account settings. This token will be used to authenticate requests from Annie to HCP Cloud.

⚠️ If you have a single token for multiple workspaces, you can use it multiple times in Anyshift, but you will have to create a set of credentials for each workspace you want to connect to Annie. If it is an issue for you, please let us know, and we will prioritize it.
