# Welcome

These instructions apply to the current Admin Console.

Contextual is a managed platform for building, running, and scaling AI-enabled applications, automations, and integrations. Contextual brings together a runtime for application code, built-in data storage, event handling, auto-generated APIs, and AI capabilities. The platform manages the underlying infrastructure so you can focus on building solutions that fit the way your business works.

{% hint style="info" %}
This documentation covers the newly available Contextual Admin Console. Add `next.` to the start of your Console hostname. For example, if your tenant URL is `https://example.my.contextual.io`, open `https://next.example.my.contextual.io`.

The legacy Contextual documentation describes older approaches to building on the platform. If you need documentation for the legacy Contextual admin console, choose **Legacy** from the version dropdown in this documentation.
{% endhint %}

## Platform overview

<table data-view="cards">
  <thead>
    <tr>
      <th></th>
      <th></th>
      <th data-hidden data-card-target data-type="content-ref"></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><strong>Workers</strong></td>
      <td>Build and run your code on Contextual. Test application logic locally and deploy updates from the CLI.</td>
      <td><a href="https://docs.contextual.io/build/contextual-workers.md">Workers</a></td>
    </tr>
    <tr>
      <td><strong>Object Types and Records</strong></td>
      <td>Define data schemas and store application data as Records. Contextual generates APIs for each Object Type.</td>
      <td><a href="https://docs.contextual.io/build/object-types.md">Object Types and Records</a></td>
    </tr>
    <tr>
      <td><strong>Connections</strong></td>
      <td>Store credentials for external systems and AI providers. Managed Workers can use saved Connections to call those systems.</td>
      <td><a href="https://docs.contextual.io/connect/connections.md">Connections</a></td>
    </tr>
    <tr>
      <td><strong>Sites</strong></td>
      <td>Host web applications on Workers and add managed user sign-in when you need it.</td>
      <td><a href="https://docs.contextual.io/build/sites.md">Sites</a></td>
    </tr>
    <tr>
      <td><strong>AI Search</strong></td>
      <td>Find relevant evidence in selected Records with semantic or hybrid search.</td>
      <td><a href="https://docs.contextual.io/connect/ai-search.md">AI Search</a></td>
    </tr>
    <tr>
      <td><strong>AI Calls</strong></td>
      <td>Save and version prompts that applications run by ID.</td>
      <td><a href="https://docs.contextual.io/connect/ai-calls.md">AI Calls</a></td>
    </tr>
    <tr>
      <td><strong>Solution Metrics</strong></td>
      <td>Calculate values, breakdowns, and trends from Record data.</td>
      <td><a href="https://docs.contextual.io/tenants/tenant-apis/observability-api.md">Solution Metrics</a></td>
    </tr>
    <tr>
      <td><strong>Tenant APIs</strong></td>
      <td>Access your data and services for files, logs, notifications, and AI from Workers or external applications.</td>
      <td><a href="https://docs.contextual.io/tenants/tenant-apis.md">Tenant APIs</a></td>
    </tr>
  </tbody>
</table>

## Get started

### Prerequisites

- **Node.js 22 or later** to run the Contextual CLI. For new setups, use the latest patch of [Node.js 24 or a newer LTS release](https://nodejs.org/en/about/previous-releases).
- **A container engine** like Docker or Colima that can run `linux/amd64` images so you can build and test Workers locally.

### Install the Contextual CLI

Install the Contextual CLI globally with npm, then sign in.

- Replace `<tenant-id>` with the ID in your Console hostname.
- Replace `my-config` with a name for your local CLI configuration. If you already have a configuration, skip `ctxl config add` and use its name instead.

```sh
npm install -g @contextual-io/cli
ctxl workers --help
ctxl config add my-config --tenant-id <tenant-id>
ctxl config use my-config
ctxl config login
ctxl config current --json
```

Check that `ctxl config current --json` shows the environment you intend to use.

If you use Docker for Worker images, configure Docker to use your CLI sign-in to push and pull images.

```sh
ctxl workers configure-docker
```

### Connect your coding agent to Contextual knowledge

- **Solution AI Knowledge MCP:** Give your agent tools to search and read the docs. Add `https://contextual-docs-mcp.contextualio.workers.dev` and follow the sign-in prompt.
- **Solution AI Connect Plugin:** Install Solution AI Connect plugin for Claude Code to add the Knowledge MCP server and CLI skills.

  ```sh
  claude plugin marketplace add ContextualIO/solution-ai-connect
  claude plugin install ctxl@contextual-io
  ```

- **Can’t use MCP?** Give your agent the [docs index (`llms.txt`)](https://docs.contextual.io/llms.txt) or a page’s `.md` URL, such as `/welcome.md`. To share the text directly, select **Copy page as Markdown** and paste it into chat. HTTP clients can also send `Accept: text/markdown` to the page URL.

### Build your first Worker

Follow the managed Worker quickstart to write a small HTTP handler, deploy it, and verify the response and logs. [Build your first managed Worker](https://docs.contextual.io/build/contextual-workers/managed-workers/get-started.md).

To package and deploy your own HTTP container, follow the [container-based Worker quickstart](https://docs.contextual.io/build/contextual-workers/quickstart.md).

{% hint style="info" %}
If Workers aren’t enabled in your account, [contact Contextual support to request access](mailto:help@contextual.io).
{% endhint %}
