Get started

Authentication

Every request authenticates with your tenant API key. Generate one in the dashboard, then expose it to the SDK.

Create a key on the API key page of your QubiStack dashboard. It starts with qxel_saas_ and is shown only once at creation, so copy it immediately.

Set it as an environment variable:

bash
export QXEL_SAAS_API_KEY="qxel_saas_..."

The SDK reads it when you create a client:

python
import os
from QXelSaas import QXel

sim = QXel(api_key=os.environ["QXEL_SAAS_API_KEY"])
Note Never hard-code or commit raw API keys. Rotate a key from the dashboard if it leaks.