> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniac.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# uniac link

> Bind a project to a remote (or local-dev) Uniac project.

```bash theme={null}
uniac link            # bind for production deploys
uniac link --dev      # bind to a local dev stack
```

Records the chosen [project](/concepts/projects) slug to a project-local file:

| Flag      | File                     | Used by                       |
| --------- | ------------------------ | ----------------------------- |
| (default) | `.uniac/deploy.json`     | [`uniac deploy`](/cli/deploy) |
| `--dev`   | `.uniac/deploy.dev.json` | [`uniac dev`](/cli/dev)       |

Both files are gitignored by default. They record the slug, not the name, so renaming the project doesn't break the link.

Re-running `uniac link` lets you re-bind to a different project or switch from local-dev to remote.
