# make_credentials_for_ionq

Source: https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.credentials.make_credentials_for_ionq

```python
fireopal.credentials.make_credentials_for_ionq(token)
```

Build credentials for accessing IonQ quantum backends.

Use this function when you want to run circuits on IonQ devices through
Fire Opal. Pass the returned `Credentials` dict
as the `credentials` argument to functions such as [`solve_qaoa()`](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.solve_qaoa.md#fireopal.solve_qaoa).

### Parameters
**token** (*str*) – Your IonQ API token. Retrieve this from the IonQ Cloud console
under “API Keys”.
### Returns
*Credentials* –

  A dict of the form:
  ```default
  {"provider": "ionq", "IONQ_API_KEY": token}
  ```

## Notes

This function performs only basic type checking of the credentials it
receives. It does not verify whether the credentials are valid for
hardware access.
