# Alchemy Guide

### How to get your Alchemy API key

1. Go to [Alchemy](https://www.alchemy.com/) and click on `Get your API key` button.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a0.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a0.png)<br>

2. Sign up for an account or log in if you already have one.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a1.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a1.png)<br>

3. If you are a new user, you will be asked to fill in your details. Select Personal and click on `Next`.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a2.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a2.png)<br>

4. Select the plan. In this case, we will select the free plan. Click on `Next`.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a3.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a3.png)<br>

5. You will be ask payment details. However, you can skip this step by clicking on `Skip bonus`.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a4.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a4.png)<br>

6. You will be redirected to the dashboard. In the center of the page, you will see your API key. Copy it and paste it to the CLI when asked.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a5.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a5.png)<br>

That's it! You have successfully obtained your Alchemy API key.

***

### How to configure your Alchemy API Key

Note: If you're using Base network and encounter an error like invalid API Key or any API-related issue, it’s likely because your Alchemy app is not properly configured. By default, Alchemy only enables the network you selected when creating the app and disables all other networks. To fix this, you need to update your Alchemy app settings and configure the API key for the Base network. Here's how to do it.

1. In the sidebar, click on the `Overview` button to open the Overview tab. Under `My Apps`, select the app you created.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a6.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a6.png)<br>

2. In the `Network` tab, check the status of the networks. If the networks are greyed out, they are currently disabled.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a7.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a7.png)<br>

3. Click on the `Configure` button.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a8.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a8.png)<br>

4. To enable only the Base network, scroll down, toggle the switch for Base(mainnet and testnet), and save your changes.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a9.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a9.png)<br>

5. To enable all networks, check the `Enable All` option and save.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a10.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a10.png)<br>

6. Go back to the Network tab, and you should see the selected network (or all networks) now enabled.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a11.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a11.png)<br>

7. At the top of the page, you'll find your API key. Copy it and use it in the CLI when prompted.

[![](https://github.com/InternetMaximalism/intmax2-mining-cli/raw/main/assets/alchemy/a12.png)](https://github.com/InternetMaximalism/intmax2-mining-cli/blob/main/assets/alchemy/a12.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://intmax-general.gitbook.io/intmax-privacy-mining/intmax-cli-mining/alchemy-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
