[Yandex Cloud documentation](../../../index.md) > [Yandex DataLens](../../index.md) > Connections > Files and services > Creating a SpeechSense connection

# Creating a Yandex SpeechSense connection

To create a SpeechSense connection:

1. Go to the DataLens [home page](https://datalens.ru/?skipPromo=true).
1. In the left-hand panel, select ![collections](../../../_assets/console-icons/rectangles-4.svg) **Collections and workbooks** and open the workbook in question or [create](../../workbooks-collections/workbooks-operations.md#create-workbook) a new one. If using legacy folder navigation, select a folder or create a new one to save the [connection](../../concepts/connection/index.md) to.
1. In the top-right corner, click **Create** → ![image](../../../_assets/console-icons/thunderbolt.svg) **Connection**.
1. Under **Files and services**, select the **SpeechSense** connection.
1. Select the authorization mode and specify the connection settings:

   {% list tabs group=authentication %}

   - Current user {#user}

     {% note info %}
     
     
     To create a connection and use datasets and charts built on it, the user must have the `speech-sense.data.viewer` and `speech-sense.viewer` [roles](https://aistudio.yandex.ru/docs/en/speechsense/security/#roles-list) in the relevant [SpeechSense](https://aistudio.yandex.ru/docs/en/speechsense/) project.
     
     
     {% endnote %}

     1. Copy the ID of the SpeechSense [project](https://aistudio.yandex.ru/docs/en/speechsense/concepts/resources-hierarchy#project) in question and paste it in the **Project ID** field.
     1. Leave the **Automatically create dashboard, charts, and dataset on top of connection** option enabled if you want to get a ready-made dashboard, dataset, and standard charts.

        ![image](../../../_assets/datalens/operations/connection/connection-speechsense.png)

     1. Click **Create connection**.
     1. Enter a name for the connection and click **Create**.

     {% note info %}

     If the project with the ID you specified does not exist or the user has no access to it, the connection will not be created and you will get an error.

     {% endnote %}

   - Service account {#service-account}

     {% note info %}
     
     
     To create a connection and use datasets and charts built on it, the [service account](../../../iam/concepts/users/service-accounts.md) and user must have the `speech-sense.data.viewer` and `speech-sense.viewer` [roles](https://aistudio.yandex.ru/docs/en/speechsense/security/#roles-list) in the relevant [SpeechSense](https://aistudio.yandex.ru/docs/en/speechsense/) project.
     
     
     {% endnote %}
 
     1. Copy the ID of the SpeechSense [project](https://aistudio.yandex.ru/docs/en/speechsense/concepts/resources-hierarchy#project) you need and paste it into the **Project ID** field.
     1. Select a cloud and a folder within it.
     1. Select an existing service account or create a new one.      
     1. Leave the **Automatically create dashboard, charts, and dataset on top of connection** option enabled if you want to get a ready-made dashboard, dataset, and standard charts.

        ![image](../../../_assets/datalens/operations/connection/connection-speechsense-sa.png)

     1. Click **Create connection**.
     1. Enter a name for the connection and click **Create**.

     {% note info %}

     If the project with the ID you specified does not exist or the service account has no access to it, the connection will not be created and you will get an error.

     {% endnote %}

   {% endlist %}