# UI Extensions ⨯ Autofill Relation

[Join our Slack](https://slack.hygraph.com)

This is a simple relation field, which autofills the relation value with the first entry available.

## How to Use

Deploy the code to Vercel, or run locally, and install on Hygraph as a UI extension using the URL to your index page as the URL for your extension, and run the compatibility test.

Follow the docs about [Hygraph UI extensions](https://hygraph.com/docs/ui-extensions).

### Download Manually

```bash
npx degit hygraph/hygraph-examples/uix-autofill-relation uix-autofill-relation
```

Install & Run:

```bash
cd uix-autofill-relation
npm install
npm run start
# or
cd uix-autofill-relation
yarn
yarn start
```
