[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Notification Service](../../index.md) > [Step-by-step guides](../index.md) > Topics > Creating a topic

# Create topic

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select a folder.
  1. Navigate to **Cloud Notification Service**.
  1. Select **Topics** on the left.
  1. Click **Create topic**.
  1. Enter a name for the topic. The name must be unique within Cloud Notification Service.
  1. Under **Logging**, enable the **Write logs** option.
  1. In the **Folder** list, select a folder to house the [log group](../../../logging/concepts/log-group.md).
  1. In the **Log group** field, select an existing log group or create a new one.
  1. Click **Create topic**.

- AWS CLI {#aws-cli}

  1. If you do not have the AWS CLI yet, [install and configure it](../../../storage/tools/aws-cli.md).
  1. Run this command:

     ```bash
     aws sns create-topic --name <topic_name>
     ```
     
     Where `name` is topic name, which can be any name unique within Cloud Notification Service.
     
     Learn more about the `aws sns create-topic` command in [this AWS guide](https://docs.amazonaws.cn/en_us/sns/latest/dg/sns-create-topic.html).

- AWS SDK for Python {#python}

  1. If you do not have the AWS SDK for Python (boto3) yet, [install and configure it](../../tools/sdk-python.md#aws-sdk).
  1. Use the following code to create a topic:

     ```python
     response = client.create_topic(
         Name="<topic_name>"
     )
     
     print (f"Topic ARN:", response['TopicArn'])
     ```
     
     Where:
     
     * `Name`: Topic name, which can be any name unique within Cloud Notification Service.

{% endlist %}

Once you create a topic, you cannot change its name. To add endpoints to a topic, [create subscriptions](subscription-create.md).