# Use and test a Community Connector

As you develop your Community Connector, you can use and test it in Data Studio
using the Head Deployment.

## Using Head Deployment

The Head Deployment is created by default in Apps Script and will always contain
the current working version of the code.

1. In the Apps Script development environment, Click **Deploy \> Test
   deployments** to open the *Test deployments* dialog. ![Using Head deployment](https://developers.google.com/static/data-studio/connector/images/head-deployment.png)
2. Click *Copy* to copy the **Head Deployment ID**.
3. To load your connector in Data Studio, replace the `HEAD_DEPLOYMENT_ID` placeholder in the following link with your connector's **Head Deployment
   ID** and follow the link in your browser:

    https://datastudio.google.com/datasources/create?connectorId=HEAD_DEPLOYMENT_ID

For more information on deployments, view the
[Deploy a Community Connector](https://developers.google.com/data-studio/connector/deploy.md.txt) guide.

## Update your code for Head Deployment

As you update your code, saving your Apps Script project will also update the
*Latest Version / Head Deployment*.