# Getting Started

In the world of Solana development, a crucial tool in our toolkit is the **Anchor IDL**. It's like a guidebook that tells us what accounts a program has and how they're structured. This information is gold because it helps us automate indexing pipelines. Think of it as the key piece in the puzzle that lets us understand and handle a program's accounts effectively.

{% hint style="info" %}
Reach out to us on [Discord](https://discord.com/invite/8JyZCjRPmr) to get a program indexed.
{% endhint %}

> We have also created a [graphQL demo project](https://github.com/Shyft-to/community-projects/tree/main/graphql-demo) for you to easily get started.

#### **Step 1**

GraphQL API lets you access both **mainnet** and **devnet** program data. It can be accessed from the below URLs.

* **Mainnet**: <mark style="color:yellow;"><https://programs.shyft.to/v0/graphql/?api\\_key={your-key}\\&network=mainnet-beta></mark>
* **Devnet**: <mark style="color:yellow;"><https://programs.shyft.to/v0/graphql/?api\\_key={your-key}\\&network=devnet></mark>

#### Step 2

It is necessary to see the **schema of the programs and the fields** that we have indexed, so you can build queries based on that. The above URL works with any GraphQL client. Here are a few popular ones.

* <https://cloud.hasura.io/public/graphiql>
* <https://studio.apollographql.com/sandbox/explorer/>

Once you paste your GraphQL endpoint in the above UI, it will automatically trigger an **introspection** call which will fetch the entire schema for all the programs that we currently host.

Each account follows **programID\_accountName** structure, so for example if you want to query **ProposalsV2** account for **spl-governance**. You would be looking at <mark style="color:yellow;">**GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw\_ProposalV2.**</mark>

<figure><img src="https://2394289113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4XnSsBH76iytbI7NwX5o%2Fuploads%2FiTMSsypUnZcFgQC17wPT%2Fezgif.com-video-to-gif%20(1).gif?alt=media&#x26;token=41475c13-a754-4f16-b7d2-59124c7b4755" alt=""><figcaption></figcaption></figure>

Now you are ready to start building queries and creating experiences that were unheard of before, on Solana.
