---
type: api
title: Install a plugin
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/operation/operation-post-agent-builder-plugins-install
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/operation/operation-post-agent-builder-plugins-install
products:
  - Kibana
---

# Install a plugin

Availability:

- Server: `https://{kibana_url}`

## Paths

- `POST` `/api/agent_builder/plugins/install`
- `POST` `/s/{space_id}/api/agent_builder/plugins/install`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/authentication#apikeyauth)

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Install a plugin from a [GitHub Claude plugin URL](https://code.claude.com/docs/en/plugins) or a direct ZIP URL. Plugins bundle agent capabilities such as skills. To learn more about Agent Builder plugins, refer to the [plugins documentation](https://www.elastic.co/docs/explore-analyze/ai-features/agent-builder/plugins).<br/><br/>[Required authorization] Route required privileges: agentBuilder:write.

## Request Body

`application/json`

- `plugin_name` (string) — optional
  Optional name override for the plugin. Defaults to the manifest name.
- `url` (string) — required
  URL to install the plugin from (GitHub URL or direct zip URL).

## Response

Indicates a successful response

## Code Examples

#### Console

```console
POST kbn://api/agent_builder/plugins/install
{
  "url": "https://github.com/anthropics/financial-services-plugins/tree/main/financial-analysis"
}
```

#### curl

```curl
curl \
  -X POST "${KIBANA_URL}/api/agent_builder/plugins/install" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "kbn-xsrf: true" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://github.com/anthropics/financial-services-plugins/tree/main/financial-analysis"
}'
```

## Response Examples

#### Install plugin response

Example response returning the definition of the installed plugin

```json
{
  "created_at": "2025-01-01T00:00:00.000Z",
  "description": "Financial analysis tools and skills for Claude",
  "id": "financial-analysis",
  "manifest": {
    "author": {
      "name": "Anthropic",
      "url": "https://www.anthropic.com"
    },
    "keywords": [
      "finance",
      "analysis"
    ],
    "repository": "https://github.com/anthropics/financial-services-plugins"
  },
  "name": "financial-analysis",
  "skill_ids": [
    "financial-analysis-analyze-portfolio"
  ],
  "source_url": "https://github.com/anthropics/financial-services-plugins/tree/main/financial-analysis",
  "unmanaged_assets": {
    "agents": [],
    "hooks": [],
    "lsp_servers": [],
    "mcp_servers": [],
    "output_styles": []
  },
  "updated_at": "2025-01-01T00:00:00.000Z",
  "version": "1.0.0"
}
```

