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

# Local Setup

Follow these steps to set up your Optexity account, grab your API key, and install the toolchain locally.

### 1. Create an Account

Head to [dashboard.optexity.com](https://dashboard.optexity.com) and sign up for a free account.

### 2. Get Your API Key

Once logged in, navigate to the **API Keys** section in your dashboard and create a new key.

### 3. Install the Recorder Extension

Install the **Optexity Recorder** extension from the [Chrome Web Store](https://chromewebstore.google.com/detail/optexity-recorder/pbaganbicadeoacahamnbgohafchgakp). This extension captures your browser interactions and converts them into automation workflows.

### Prerequisites

* Python 3.11+
* Git

## Create and Activate a Python Environment (Optional)

Choose **one** of the options below.

#### Option A – Conda (includes Python 3.11 and Node.js)

```bash theme={null}
conda create -n optexity python=3.11
conda activate optexity
```

Install miniconda here: [https://docs.conda.io/projects/conda/en/stable/user-guide/install/index.html#installing-in-silent-mode](https://docs.conda.io/projects/conda/en/stable/user-guide/install/index.html#installing-in-silent-mode)

#### Option B – Python `venv`

```bash theme={null}
python3 -m venv .venv
source .venv/bin/activate
```

## Installation

### Quick Installation (from PyPI)

Install Optexity directly from PyPI:

```bash theme={null}
pip install optexity
optexity install-browsers
```

**OR**

### Installation from Source

If you want to clone and edit from source:

```bash theme={null}
git clone git@github.com:Optexity/optexity.git
cd optexity
pip install -e .
optexity install-browsers
```

## Set required environment variables:

```bash theme={null}
OPTEXITY_API_KEY=YOUR_OPTEXITY_API_KEY  # API key used for authenticated requests
GOOGLE_CLOUD_PROJECT=YOUR_GCP_PROJECT_ID   # Google Cloud project used for every LLM call
DEPLOYMENT=dev                          # or "prod" in production
```

Optexity runs Gemini and Claude on Google Vertex AI. In your Google Cloud project, enable the Vertex AI API and enable the Claude models in Model Garden, then sign in with Application Default Credentials:

```bash theme={null}
gcloud auth application-default login
```

### Using a Different LLM

Optexity defaults to the `lite` tier (`gemini-3.5-flash-lite`, falling back to `claude-haiku-5-5`). Set `LLM_MODEL` to use another Vertex model:

```bash theme={null}
LLM_MODEL=gemini-3.6-flash
```

See [Model Configuration](https://docs.optexity.com/docs/advanced/model-configuration.md) for fallbacks, per-task overrides, and the full list of settings.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.