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

# Create a API Key

> Learn how to create and manage a API Key for using Gelato Gasless SDK

<Steps>
  <Step title="Create Your Gelato Account">
    Sign up on the [Gelato App](https://app.gelato.cloud/) to establish an account.
  </Step>

  <Step title="Create API Key">
    Within your Gelato account, Navigate to `Paymaster & Bundler > API Keys` to create a new API Key. While creating the key, make sure to configure the environment as either Mainnet or Testnet, depending on your use case.

    <img height="200" src="https://mintcdn.com/gelato-6540eeb1/Zts4gqL19HxzBoy9/images/create-api-key.png?fit=max&auto=format&n=Zts4gqL19HxzBoy9&q=85&s=120432e41d7173743189b36391831e1c" data-path="images/create-api-key.png" />
  </Step>

  <Step title="Retrieve Your API Key">
    After creating the API Key, navigate to its dashboard to locate your API Key.

    <Check>Gelato API Keys now supports API key rotation, allowing users to create and delete API keys. This helps prevent unauthorized usage in case an API key is exposed.</Check>
  </Step>

  <Step title="Activate your API Key">
    `Activate` your API key by allowing access to `all contracts` on a network, or restrict it to `specific contracts` or `specific functions` in policies section.

    Here, you can configure different networks. For each network, you can choose to allow access to all target contracts or limit it to selected contracts or specific functions.

    <img height="200" src="https://mintcdn.com/gelato-6540eeb1/Zts4gqL19HxzBoy9/images/activate-api-key.png?fit=max&auto=format&n=Zts4gqL19HxzBoy9&q=85&s=dee9ec36f68117f33241b242371f9230" data-path="images/activate-api-key.png" />
  </Step>

  <Step title="Deposit Funds into Gas Tank">
    Before you can start sponsoring gas with Gas Tank, you need to setup your Gas Tank. Check out our [Guide](/paymaster-&-bundler/gastank/setting-up-gastank) for detailed instructions on setting up your Gas Tank.

    For `Sponsorship` purposes, add funds to your Gas Tank account according to your target environment:

    * **Mainnets**: Deposit USDC.
    * **Testnets**: Deposit Sepolia ETH.

    Since Gas Tank is deployed on Polygon, you can deposit USDC in one step, and deposits from other networks are supported via Circle CCTP. Learn [more](/paymaster-&-bundler/gastank/introduction).

    <img height="200" src="https://mintcdn.com/gelato-6540eeb1/8BeiyOhSgNF7mtMT/images/deposit-funds-gastank.png?fit=max&auto=format&n=8BeiyOhSgNF7mtMT&q=85&s=f17d198e7704065d280ca10bd6bc3482" data-path="images/deposit-funds-gastank.png" />
  </Step>
</Steps>
