# authenticate

Source: https://docs.q-ctrl.com/references/boulder-opal/boulderopal/cloud/authenticate

```python
boulderopal.cloud.authenticate(api_key=None)
```

Authenticate a Boulder Opal session.

### Parameters
**api_key** (*str* *or* *None* *,* *optional*) – Your Q-CTRL API key. If you don’t provide one,
the key should be saved in an environment variable
called QCTRL_API_KEY.
