cloud-setup

Configure Elastic Cloud authentication and environment defaults with API key verification.

546|44|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/elastic/agent-skills --skill cloud-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-setup
Source: https://github.com/elastic/agent-skills/tree/main/skills/cloud/setup
Command: npx skills add https://github.com/elastic/agent-skills --skill cloud-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the initial setup of your Elastic Cloud environment, ensuring secure and correct authentication and default settings are in place for all subsequent cloud-related operations.

Core Features & Use Cases

  • API Key Verification: Ensures your Elastic Cloud API key is correctly configured and accessible.
  • Environment Defaults: Sets essential environment variables like EC_BASE_URL and EC_REGION.
  • Connection Validation: Confirms that your agent can successfully authenticate with Elastic Cloud.
  • Use Case: Before you can manage your Elastic Cloud resources, you need to authenticate. This skill guides you through generating an API key and setting up the necessary environment variables so your agent can interact with Elastic Cloud.

Quick Start

Use the cloud-setup skill to configure your Elastic Cloud environment.

Frequently Asked Questions about cloud-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Elastic Cloud authentication using an API key?

To configure Elastic Cloud authentication, you must generate an API key and verify its accessibility. This setup ensures secure access by establishing correct environment defaults for all subsequent cloud-related operations and resource management.

What environment variables are needed for Elastic Cloud setup?

Elastic Cloud setup requires specific environment variables, primarily `EC_BASE_URL` and `EC_REGION`. Configuring these environment defaults ensures your agent correctly routes requests and manages resources within the appropriate regional endpoints.

How can I validate my connection to Elastic Cloud?

You validate your Elastic Cloud connection by querying available regions after configuring your API key. Successful region querying confirms that your agent can successfully authenticate and establish communication with Elastic Cloud services.

Do I need to configure Elastic Cloud access before managing my resources?

Configuring Elastic Cloud access is a prerequisite for managing your resources. This initial setup establishes secure authentication and necessary environment variables, enabling all subsequent cloud-related operations and resource management executions.

Why is my Elastic Cloud API key verification failing?

Elastic Cloud API key verification fails if the key is incorrectly configured or lacks sufficient permissions. Ensuring the API key is properly set as an environment variable allows the setup process to validate accessibility and authenticate securely.