[Yandex Cloud documentation](../../index.md) > [Yandex SmartCaptcha](../index.md) > [Step-by-step guides](index.md) > Obtaining the keys

# Obtaining CAPTCHA keys 

In this section, you will learn how to get [CAPTCHA keys](../concepts/keys.md). The client key allows you to [add a SmartCaptcha widget](../quickstart.md#add-widget) to your page. The server key is required for [user response verification](../quickstart.md#check-answer).

{% list tabs group=instructions %}

- Management console {#console}

    1. In the [management console](https://console.yandex.cloud), select a folder.
    1. Navigate to **SmartCaptcha**.
    1. Click the name of an existing CAPTCHA or [create](../quickstart.md#creat-captcha) a new one.
    1. In the **Overview** tab, copy the **Client key** and **Server key** values.

       ![step4-get-keys](../../_assets/smartcaptcha/quickstart/step4-get-keys.png)

- API {#api}

  To get the [server key](../concepts/keys.md), use the [GetSecretKey](../api-ref/Captcha/getSecretKey.md) REST API method for the [Captcha](../api-ref/Captcha/index.md) resource or the [CaptchaService/GetSecretKey](../api-ref/grpc/Captcha/getSecretKey.md) gRPC API call.

{% endlist %}