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

# Installation

> Install fact0-sdk (v1.0.6) and connect to Fact0 Cloud at https://api.fact0.io.

# Python SDK

|              |                                                           |
| ------------ | --------------------------------------------------------- |
| **PyPI**     | [`fact0-sdk`](https://pypi.org/project/fact0-sdk/) v1.0.6 |
| **Import**   | `import fact0`                                            |
| **API**      | `https://api.fact0.io`                                    |
| **Requires** | Python 3.10+                                              |

## Installation

<Steps>
  <Step title="Create an account">
    Sign up at [app.fact0.io](https://app.fact0.io) and complete onboarding.
  </Step>

  <Step title="Get your API key">
    Dashboard → **Settings → API Keys → New key**. Choose **write** scope. Copy the key - shown once.

    ```bash theme={null}
    export FACT0_API_KEY="f0_live_..."
    ```
  </Step>

  <Step title="Install">
    ```bash theme={null}
    pip install fact0-sdk
    ```

    Requires Python 3.10+. Import as `import fact0` (PyPI name is `fact0-sdk` because `fact0` is reserved on PyPI).
  </Step>

  <Step title="Verify">
    ```bash theme={null}
    python -c "import fact0; print(fact0.__version__)"
    ```
  </Step>
</Steps>

<Warning>
  Store API keys in a secrets manager. Raw keys are shown only once at creation.
</Warning>

The SDK defaults to `https://api.fact0.io`. For local development, pass `base_url="http://localhost:8000"` to `Client(...)`.

Continue to the [Quickstart](/quickstart).
