> For the complete documentation index, see [llms.txt](https://docs.talentlayer.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.talentlayer.org/open-source-contribution/subgraph-local-setup.md).

# Subgraph Local Setup

{% hint style="warning" %}
**ALERT:** In most cases, you don't need to set up a local subgraph - everything is ready to use on Testnet! If you have advanced needs, we recommend contacting our team.&#x20;
{% endhint %}

## Requirements

[The Graph CLI](https://thegraph.com/en/). Installation instructions found [here](https://thegraph.com/docs/en/deploying/deploying-a-subgraph-to-studio/#installing-graph-cli).

[Docker](https://www.docker.com/). Installation instructions found [here](https://docs.docker.com/get-docker/).

## Instructions

### 1. Clone Repository from GitHub

```bash
git clone https://github.com/TalentLayer/talentlayer-id-subgraph
```

### 2. Navigate to Folder

```bash
cd talentlayer-id-subgraph
```

### 3. Start Subgraph Node

{% hint style="info" %}
Make sure Docker is running.
{% endhint %}

```bash
sh run-graph-node.sh
```

### 4. Deploy Subgraph To Node

```bash
make regenerate
```
