# Slab

![Slab.png](https://assets.relyanceuat.xyz/images/docs/12718898446477/12718752299661.png)
Slab is a online knowledge base. It integrates with everything else, including spreadsheets, slide decks, flowcharts, task managers, and much more.

In order to integrate Slab with Relyance AI you will need an **Account Token**.

#### In Slab:

1. Login to your Slab account.
2. Click on your profile icon in the top right-hand navigation bar.
3. Click **Settings**.
4. On the settings page, click **Developer** in the left-hand navigation.
5. On the **Developer** page, in the **API** section, click **Reveal token**.
6. Copy the **Account Token** to be used in Relyance.

![Slab-3.png](https://assets.relyanceuat.xyz/images/docs/12718898446477/12719185555981.png)

#### 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 **Slab** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Custom**.
8. Paste the **Account Token** into its respective field.

![Slab-1.png](https://assets.relyanceuat.xyz/images/docs/12718898446477/12718857107469.png)

9. Click **Authenticate**.
10. At this point, you should see the following result on the **Vendor** Integrations page:

![Slab-2.png](https://assets.relyanceuat.xyz/images/docs/12718898446477/12718893960717.png)

11. Congratulations, you are now connected to **Slab**.

<!-- 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`.

```hcl
resource "relyance_integration_connection" "slab" {
  vendor = "slab"
  name   = "<your connection name>"

  auth = {
    method = "access-token"
    params = {
      data_storage_location = "us"
    }
    # Secret fields are write-only: sent to Relyance, never stored in state.
    secrets_wo = {
      account_token = var.slab_account_token
    }
    secrets_wo_version = 1
  }

  scans = { "property-inspection" = { enabled = true } }
}
```

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