---
type: api
title: "Authentication"
description: "How to authenticate requests to the Kibana API: Api key, Basic."
url: https://www.elastic.co/elastic/docs-builder/docs/5066/api/kibana/v8/authentication
resource: https://www.elastic.co/elastic/docs-builder/docs/5066/api/kibana/v8/authentication
products:
  - Kibana
---

# Authentication

## Api key

These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`

```http
Authorization: ApiKey <api-key>
```

## Basic

```http
Authorization: Basic <credentials>
```

