---
description: >-
  Guidance on how to create a project using ChainIDE, configure MetaMask and get
  test coin.
---

# 1. Polygon IDE Environment Configuration

### 1. Create a new Polygon Project&#x20;

Visit [ChainIDE](https://chainide.com/) and click the "Code Smarter" button on the front page as shown in the figure below.

<figure><img src="https://3745657014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYy-lqJKjq1m0yBAX4r%2Fuploads%2FwEvlV4yilIj73lcPYODP%2Fimage.png?alt=media&#x26;token=175189ba-ea41-4d80-9f26-eb6647c5e911" alt=""><figcaption></figcaption></figure>

Here, you will choose your login method, which includes two options: GitHub and Guest. For this tutorial, select GitHub login, as later on, the use of the Sandbox requires users to log in with GitHub.

<figure><img src="https://3745657014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYy-lqJKjq1m0yBAX4r%2Fuploads%2FqVbVVO9cFCdeZoEiR2Wy%2Fimage.png?alt=media&#x26;token=b8fbd0a7-a0f0-4e13-ba69-929216eb154a" alt=""><figcaption></figcaption></figure>

Click the "New Project" button.

<figure><img src="https://3745657014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYy-lqJKjq1m0yBAX4r%2Fuploads%2FpK9dhtZsG8zbUBQlfy3T%2Fimage.png?alt=media&#x26;token=2ac1f72b-95d1-4bfd-851f-070185be9188" alt=""><figcaption></figcaption></figure>

A pop-up window will appear. On the left side of the pop-up, select "Polygon". Then, select a temple to create a new project.

<figure><img src="https://3745657014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYy-lqJKjq1m0yBAX4r%2Fuploads%2FVnrSlBg9bGyz0IgsWlmU%2Fimage.png?alt=media&#x26;token=96f8ae99-ad44-4c9c-8392-11db3e3eb058" alt=""><figcaption></figcaption></figure>

### 2. Configure Wallet

Connecting to Ploygon is made easy through MetaMask. Below is a tutorial on how to configure MetaMask.

**Setting Up MetaMask Tutorial**

**Step 1: Install MetaMask Extension**

1. Open your browser (preferably Google Chrome or Mozilla Firefox).
2. Visit the [https://metamask.io/](https://metamask.io/).
3. Click on "Download" and choose the version suitable for your browser.
4. Install the MetaMask extension and set up a password as prompted.

**Step 2: Create or Restore an Account**

1. After installing MetaMask, click on the MetaMask icon in the top right corner of your browser.
2. If you don't have a MetaMask account, choose "Create a Wallet." If you already have an account, select "Import Account" (if importing from a mnemonic phrase or private key) or "Connect a Wallet" (if importing from another wallet).
3. If you're a new user, follow the steps to create an account and securely back up your mnemonic phrase.

**Step 3: Explore the MetaMask Interface**

1. Once your account is created, you'll see the main MetaMask interface. Here, you can view your balance, add assets, check transaction history, and more.

**Step 4: Connect to Polygon Network**

1. In the next section, will be told how to connect to the mainnet and testnet.

**Step 5: Obtain test tokens**

1. A faucet is the site/place where you can get test tokens.  Use them to make sure your wallet has enough assets to cover the cost of deployment and pay transaction gas.

You can claim test tokens at the following link.

<table><thead><tr><th width="231">Network</th><th width="486">LINK</th><th></th><th></th><th data-hidden>AMOUNT</th><th data-hidden></th></tr></thead><tbody><tr><td>Polygon Mainnet</td><td><a href="https://stakely.io/en/faucet/polygon-matic">https://stakely.io/en/faucet/polygon-matic</a></td><td></td><td></td><td></td><td></td></tr><tr><td>Polygon Testnet (Amoy)</td><td><a href="https://faucets.chain.link/polygon-amoy">https://faucets.chain.link/polygon-amoy</a></td><td></td><td></td><td></td><td></td></tr><tr><td>Polygon Testnet (Amoy)</td><td><a href="https://www.alchemy.com/faucets/polygon-amoy">https://www.alchemy.com/faucets/polygon-amoy</a></td><td></td><td></td><td></td><td></td></tr><tr><td>Polygon Testnet (Amoy)</td><td><a href="https://faucet.polygon.technology/">https://faucet.polygon.technology/</a></td><td></td><td></td><td></td><td></td></tr></tbody></table>
