[Yandex Cloud documentation](../../../../index.md) > [Yandex Managed Service for YDB](../../../index.md) > Amazon DynamoDB-compatible Document API > Tools > Working with the AWS CLI > Overview

# Working with the AWS CLI in Managed Service for YDB. Overview

This section describes how to perform the following operations in YDB using the AWS CLI:
* [Creating](create-table.md) a table.
* [Adding](put-item.md), [reading](get-item.md), and [updating](update-item.md) table data.
* [Running](query.md) simple queries.

## Getting started {#before-you-begin}

1. [Configure the AWS environment](../aws-setup.md).
1. Prepare the Document API endpoint of [your database](../../../operations/manage-databases.md).

   {% cut "Where to find the Document API endpoint of a database" %}

   1. Navigate to the [management console](https://console.yandex.cloud).
   1. Select the folder and go to **Managed Service for&nbsp;YDB**.
   1. Select the database you want to query.
   1. In the menu on the left, go to the **Overview** section.
   1. The **Document API endpoint** line shows the endpoint value.

      >Here is an example of an endpoint value:
      >
      >```text
      >https://docapi.serverless.yandexcloud.net/ru-central1/b1gia87mbaomkfvs6rgl/etnudu2n9ri35luqe4h1
      >```

   {% endcut %}

   {% note info %}

   For the Amazon DynamoDB compatibility mode, use a serverless database configuration.

   {% endnote %}