[Yandex Cloud documentation](../../index.md) > [Yandex Data Streams](../index.md) > Getting started > Preparing the environment

# Preparing the environment for Data Streams

1. Log in to the [management console](https://console.yandex.cloud). If you have not signed up yet, navigate to the management console and follow the instructions.
1. On the [**Yandex Cloud Billing**](https://center.yandex.cloud/billing/accounts) page, check whether you have a linked [billing account](../../billing/concepts/billing-account.md) with an `ACTIVE` or `TRIAL_ACTIVE` status. If you do not have a billing account yet, [create one](../../billing/quickstart/index.md#create_billing_account).
1. If you do not have a folder yet, [create one](../../resource-manager/operations/folder/create.md).
1. [Create](../../iam/operations/sa/create.md) a service account and [assign](../../iam/operations/sa/assign-role-for-sa.md) it the `editor` role for your folder.
1. [Create](../../iam/operations/authentication/manage-access-keys.md#create-access-key) a static access key.
1. Configure the AWS CLI:
    1. Install the [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) and run this command:

        ```bash
        aws configure
        ```

    1. Enter the following values one by one when prompted:

        * `AWS Access Key ID [None]:`: Service account [key ID](../../iam/concepts/authorization/access-key.md)
        * `AWS Secret Access Key [None]:`: Service account [secret key](../../iam/concepts/authorization/access-key.md)
        * `Default region name [None]:`: `ru-central1`