[egulu CLI reference](../index.md) / [egulu notebook-servers](index.md)

# egulu notebook-servers connect-session

POST /v1/projects/{project}/locations/{location}/notebookServers/{notebookServer}:connectSession

```sh
egulu notebook-servers connect-session [options]
```

## API operation

[NotebookServers_connectSession](../../api/mlworkspace/NotebookServers_connectSession.md): `POST /v1/projects/{project}/locations/{location}/notebookServers/{notebookServer}:connectSession` (mlworkspace module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--gateway-ticket` | value | no | gatewayTicket |
| `--location` | value | yes | location |
| `--notebook-server` | value | yes | notebookServer |
| `--project` | value | yes | project |
| `--session-id` | value | no | sessionId |

The [global options](../index.md) apply too.
