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

# link

> Link your local directory to an Openlayer project

The `openlayer link` command links your local directory to an [Openlayer project](/workspace-and-projects/project-overview).

## Usage

```bash theme={null}
openlayer link
```

When no arguments are provided, an interactive prompt will be displayed asking the user
to confirm that they want to set up a link between the local directory and an Openlayer project,
if they want to link to an existing project or create a new one, and for the project name.

The `--project` name can also be provided as a flag:

```bash theme={null}
openlayer link --project=[project name]
```
