> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Elastic

> Follow these steps to connect Elastic via the StackOne Hub successfully.

<Warning>
  Ensure you have Admin privileges within your Elastic organization.
</Warning>

If you've been directed to StackOne to integrate with Elastic, the following steps will help you understand the process and any necessary actions to configure successful integration.

This guidance assumes that you are an Organization Admin within Elastic.

## Get Your Elastic Cloud Organization ID

<Steps>
  <Step title="Log in to Elastic Cloud">
    Log in to your [Elastic Cloud](https://cloud.elastic.co) instance.
  </Step>

  <Step title="Access Organization">
    Click your profile icon in the top right, then click [Organization](https://cloud.elastic.co).

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Elastic Organization" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/Rs6NeAXs5I3UVlO6/images/elastic/image1.png?fit=max&auto=format&n=Rs6NeAXs5I3UVlO6&q=85&s=c841e22e6ce3f7da05b2ff4128b742e0" width="611" height="533" data-path="images/elastic/image1.png" />
    </Frame>
  </Step>

  <Step title="Copy Organization ID">
    Copy your displayed Organization ID and store it safely.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Organization ID" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/Rs6NeAXs5I3UVlO6/images/elastic/image2.png?fit=max&auto=format&n=Rs6NeAXs5I3UVlO6&q=85&s=ce70b2b4cdc09c73cd75241b3b5d790c" width="661" height="527" data-path="images/elastic/image2.png" />
    </Frame>
  </Step>
</Steps>

## Get Your Elastic API Key

<Steps>
  <Step title="Access API Keys">
    While viewing your [Organization](https://cloud.elastic.co) membership, click API keys.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="API Keys" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/Rs6NeAXs5I3UVlO6/images/elastic/image3.png?fit=max&auto=format&n=Rs6NeAXs5I3UVlO6&q=85&s=4d0b3db15e501b2caa7a8dd43865ec64" width="1679" height="598" data-path="images/elastic/image3.png" />
    </Frame>
  </Step>

  <Step title="Create API Key">
    Click the Create API Key button on the right.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Create API Key" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/Rs6NeAXs5I3UVlO6/images/elastic/image4.png?fit=max&auto=format&n=Rs6NeAXs5I3UVlO6&q=85&s=723180a0ac40710e337f2e14774e06c4" width="1679" height="598" data-path="images/elastic/image4.png" />
    </Frame>
  </Step>

  <Step title="Enter API Key Details">
    Under Create API Key:

    <ul>
      <li>Enter a Name for this key</li>
      <li>Set the desired expiration date for this key</li>
      <li>Assign the Organization owner role</li>
      <li>Click the Create API key button</li>
    </ul>

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="API Key Details" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/Rs6NeAXs5I3UVlO6/images/elastic/image5.png?fit=max&auto=format&n=Rs6NeAXs5I3UVlO6&q=85&s=989825e6482f210715ffb465bb476892" width="814" height="903" data-path="images/elastic/image5.png" />
    </Frame>
  </Step>

  <Step title="Copy API Key">
    Copy or download your displayed API Key and store it safely.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Copy API Key" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/Rs6NeAXs5I3UVlO6/images/elastic/image6.png?fit=max&auto=format&n=Rs6NeAXs5I3UVlO6&q=85&s=ea4b97603ecdc8faa4dcb1d6cb12bad8" width="806" height="309" data-path="images/elastic/image6.png" />
    </Frame>
  </Step>
</Steps>

## Connecting with StackOne

<Steps>
  <Step title="Enter Credentials">
    Upon reaching the Link Account page, enter your Organization ID and API Key from the previous steps.
  </Step>

  <Step title="Connect">
    Proceed by clicking the Connect button.
  </Step>
</Steps>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## Available data

This integration has the following [IAM Resources](https://docs.stackone.com/reference/iam_list_users) available from the provider:

<ul>
  <li>Users</li>
</ul>

## Useful Links

<Card title="Authentication Guide" icon="link" href="https://www.elastic.co/guide/en/cloud-enterprise/current/ece-restful-api-authentication.html">
  [https://www.elastic.co/guide/en/cloud-enterprise/current/ece-restful-api-authentication.html](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-restful-api-authentication.html)
</Card>
