﻿---
title: kibana-verification-code
description: The kibana-verification-code tool retrieves a verification code for enrolling a Kibana instance with a secured Elasticsearch cluster. Use this command...
url: https://www.elastic.co/elastic/docs-builder/docs/2569/reference/kibana/commands/kibana-verification-code
products:
  - Kibana
---

# kibana-verification-code
The `kibana-verification-code` tool retrieves a verification code for enrolling a Kibana instance with a secured Elasticsearch cluster.

## Synopsis

```shell
bin/kibana-verification-code
[-V, --version] [-h, --help]
```


## Description

Use this command to retrieve a verification code for Kibana. You enter this code in Kibana when manually configuring a secure connection with an Elasticsearch cluster. This tool is useful if you don’t have access to the Kibana terminal output, such as on a hosted environment. You can connect to a machine where Kibana is running (such as using SSH) and retrieve a verification code that you enter in Kibana.
<important>
  You must run this tool on the same machine where Kibana is running.
</important>


## Parameters

<definitions>
  <definition term="-h, --help">
    Returns all of the command parameters.
  </definition>
  <definition term="-V, --version">
    Displays the Kibana version number.
  </definition>
</definitions>


## Examples

The following command retrieves a verification code for Kibana.
```shell
bin/kibana-verification-code
```