# Query The Database

After your deployment process is finished, you can interact with your database using a GraphQL explorer tool. To access your database through the GraphQL explorer, you will require an access key. To generate this access key, you need to open your Blockflow account.&#x20;

Follow [this](https://docs.blockflow.network/guides/creating-an-api/how-to-get-api-key) guide, which contains step-by-step instructions on how to generate the access key from within your Blockflow account dashboard or settings.

***

### GraphQL Explorer

After you've generated your access key, navigate to the "APIs" section within your account. There, you'll find an option to build a new API.&#x20;

<figure><img src="/files/7Eq2eIa6KGmIsmgTT80y" alt=""><figcaption></figcaption></figure>

When presented with the dialog box, select the "GraphQL API" option and click the "Start Exploring" button.&#x20;

<figure><img src="/files/SsgBZdNaTheiwP1rsl0p" alt=""><figcaption></figcaption></figure>

You will then be redirected to the Apollo Playground, which is a GraphQL integrated development environment (IDE). In this sandbox, all of your databases will be pre-loaded and available for exploration.&#x20;

<figure><img src="/files/lQoGAkgElQ8bfNaytwrE" alt=""><figcaption></figcaption></figure>

You can use the Apollo Playground to query your databases, test out different queries, and experiment with the GraphQL API in a safe and isolated environment.


---

# 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://docs.blockflow.network/cli/production/query-the-database.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.
