> ## Documentation Index
> Fetch the complete documentation index at: https://www.anything.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# IPstack

> Access IP geolocation data

IPstack API provides accurate IP geolocation data, including location, timezone, and connection details, perfect for building location-aware applications.

## Overview

<CardGroup cols={2}>
  <Card title="Create Account" icon="user">
    Sign up for an IPstack account
  </Card>

  <Card title="Get API Key" icon="key">
    Generate your IPstack API key
  </Card>

  <Card title="Copy into Anything" icon="plug">
    Add your API key to Anything's secrets
  </Card>
</CardGroup>

## Account Creation

<Steps>
  <Step title="Visit IPstack Website">
    Go to [ipstack.com](https://ipstack.com/) and click "Get Free API Key"

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/ipstack/homepage.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=f4087a6b89b5cb2164365bc0a0a89d78" style={{ borderRadius: '0.5rem', width: '624px', height: '303px' }} width="1396" height="1226" data-path="images/ipstack/homepage.png" />
  </Step>

  <Step title="Register for an Account">
    * Fill in your email and password
    * Select your plan
    * Complete the verification process
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access Your Dashboard">
    1. Log in to your IPstack account
    2. Your API key will be displayed on the dashboard
  </Step>

  <Step title="Copy Your API Key">
    1. Copy the API key from your dashboard

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/ipstack/apigen.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=8b7fb9773cdef19288348ee0ad5ae32a" style={{ borderRadius: '0.5rem'}} width="2320" height="1286" data-path="images/ipstack/apigen.png" />

    <Warning>
      Keep your API key secure - it grants access to your IPstack account and quota
    </Warning>
  </Step>
</Steps>

## Add to Anything project

<Steps>
  <Step title="Add the integration">
    1. In your Anything project, type `/` in the chat
    2. Select "IPstack" from the menu
  </Step>

  <Step title="Add your API key">
    1. Paste your API key into the "IPSTACK\_API\_KEY" field

    <Tip>
      Need a new key? Find it in your IPstack dashboard.
    </Tip>
  </Step>

  <Step title="Use it">
    You can now use prompts with the integration to access IP geolocation data.

    Some examples:

    * `Get location data for an IP using /IPstack`
    * `Create a visitor tracking system with /IPstack`
    * `Build a location-based service using /IPstack`

    <Warning>
      The API limits how often your app can fetch data. If your app loads the same data often, ask the agent to save it locally so it doesn't re-fetch every time.
    </Warning>

    Example prompt for optimization:

    ```
    When using /IPstack, save the geolocation data so my app doesn't have to fetch it again
    ```
  </Step>
</Steps>

<Tip>
  Your IPstack integration is now ready! Use the `/IPstack` command in chat to access IP geolocation data.
</Tip>
