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

# Data Sources

> Guide to managing and configuring data sources and integrations in Siren

# Data Sources

Data sources are central to defining user cohorts for targeted notifications in Siren. They allow you to manage and organize user data effectively, ensuring precise targeting for your campaigns.

## Accessing Data Sources

1. In the left navigation panel, click on **Settings**
2. Select **Data Sources** from the dropdown menu

## Data Source Tabs

The Data Sources page contains two main tabs:

* **Database**: For connecting to your databases
* **Integrations**: For connecting to external platforms like Mixpanel

## Managing Database Connections

### Adding a New Database

<Steps>
  <Step title>
    In the **Database** tab, click **Add Database**
  </Step>

  <Step title>
    In the modal that appears, fill in the following details:

    * **Select Database Type**: Choose from the dropdown
      * PostgreSQL
      * Redshift
      * BigQuery
      * Snowflake
      * MySQL
    * **Name**: Give your data source a descriptive name
    * **Host**: Enter the database host address (e.g., `localhost` or `127.0.0.1`)
    * **Port**: Enter the database port number (e.g., `5432` for PostgreSQL)
    * **Username**: Database username
    * **Password**: Database password
    * **Database Name**: Name of the specific database to connect to
  </Step>

  <Step title>
    Click **Save** to create the connection
  </Step>
</Steps>

### Managing Existing Databases

In the Database tab, you can:

* View all configured database connections.
* Click **Edit** from three dots (⋮) to modify connection details.
* Click **Delete** from three dots (⋮) to remove a database connection.

## Managing Integrations

### Adding Mixpanel Integration

<Steps>
  <Step title="">
    Go to the **Integrations** tab and click **Add Integration**
  </Step>

  <Step title="">
    In the modal that appears:

    * **Select Integration**: Choose "Mixpanel" from the dropdown
    * **Name**: Give your integration a descriptive name
    * **Project ID**: Enter your Mixpanel Project ID
    * **Username**: Enter your Mixpanel service account username
    * **Secret**: Enter your Mixpanel service account secret key
  </Step>

  <Step title="">
    Click **Save** to complete the setup
  </Step>
</Steps>

### Managing Existing Integrations

In the Integrations tab, you can:

* View all configured integrations.
* Click **Edit** from three dots (⋮) to modify integration settings.
* Click **Delete** from three dots (⋮) to remove an integration.
