# Fivetran

![fivetran.svg](https://assets.relyanceuat.xyz/images/docs/34570978509325/34570978494477.svg)
Fivetran is a SaaS data integration server for companies to extract, transform, and load (ETL) data from different sources into data warehouses. It allows for efficient collection of business processes and customer data from related applications, websites, and servers. The data collected is then transferred to other tools for analytics, marketing, and data warehousing purposes.

In order to integrate Fivetran with Relyance AI you will need an **API Key** and **API Secret**.

**In Fivetran:**

1. Login to your Fivetran account.
2. Select API key from the context menu
3. Click **Generate new token** to create a new **API Key** and **API Secret** for use in the Relyance integration.

![Screenshot](https://assets.relyanceuat.xyz/images/docs/34570978509325/34571042114061.png)

4. Copy the newly create API Key and API Secret to be used in Relyance AI.

**In the Relyance AI application:**

1. Login to your Relyance AI account.
2. Navigate to the **Settings** (bottom-left corner).
3. Select **Integrations**.
4. Search and locate the **Fivetran** integration card and click on it.
5. Click on the **Add Connection** button on the top right.
6. Provide a meaningful name for the integration and click on the **Add** button.
7. In the **Overview** section, select the integration features you wish to enable for the integration, review the **Scope and Permission**, and **Endpoint** details and click on **Continue**. For more details, see [Integration Features](/docs/introduction-to-relyance-ai/integration-features/).
8. In the **Connection** section, provide the appropriate values and click on **Continue**,
    - **Connection Name**: This property allows you to update the integration specified in Step 6. If you have multiple integrations for the same vendor, you may want to assign distinct names to each. This helps streamline filtering by **Discovery Source** across the **Inventory**, **Visual** **Maps**, **Assets**, and **Data Flow Analysis** pages.
    - **Rescan Frequency**: This property allows you to configure how often Relyance executes scans against this Vendor connection.
    - **Business Atlas Associations** (required): the business entities or products that newly discovered third parties, services and assets from this integration are attributed to. Choose at least one from the **Select Associations** dropdown — the wizard will not advance past this step without one. For more details, see [Business Atlas](/docs/other-settings/business-atlas-overview/).
9. In the **Authentication** section, Please choose the authentication method as **Custom** and provide the following information retrieved from the **In Fivetran** section and click on **Continue**.
10. In the Data Inspection section, provide the appropriate values and click on **Continue**,
    - **Minimum Confidence Level:** This property adjusts the sensitivity of the Data Inspection feature. Lower likelihoods (e.g.,Very Low) offer more coverage but may produce false positives, while higher sensitivity (e.g., very High) provides greater accuracy but less coverage.
11. Review the configuration summary from the **Completion** section and click on **Finish.**
12. Confirm the integration Status reflects **Connected.**

![Screenshot 2025-11-04 103007.png](https://assets.relyanceuat.xyz/images/docs/34570978509325/40850058237197.png)

![Screenshot](https://assets.relyanceuat.xyz/images/docs/34570978509325/34570978501645.png)

![Screenshot](https://assets.relyanceuat.xyz/images/docs/34570978509325/34571042119053.png)

![Screenshot](https://assets.relyanceuat.xyz/images/docs/34570978509325/34571042126733.png)

![Screenshot](https://assets.relyanceuat.xyz/images/docs/34570978509325/34571042127373.png)

<!-- 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" "fivetran" {
  vendor = "fivetran"
  name   = "<your connection name>"

  auth = {
    method = "api-key"
    params = {
      data_storage_location = "us"
    }
    # Secret fields are write-only: sent to Relyance, never stored in state.
    secrets_wo = {
      api_key = var.fivetran_api_key
      api_secret = var.fivetran_api_secret
    }
    secrets_wo_version = 1
  }

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

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