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

# Installation (v14.6.1)

> This guide helps you install T3AI Premium (EXT:ns_t3ai) on a TYPO3 project for the first time.

> [!WARNING]
>
> This page documents the legacy **T3AI 14.6.1** (with AI Foundation 2.0.x before 2.0.6). For the current version see [T3AI 14.7.0](https://docs.t3planet.de/en/latest/ExtNsT3AI/Index) and [What changed in 14.7.0](https://docs.t3planet.de/en/latest/ExtNsT3AI/WhatsNew/Index.md).

This guide helps you install **T3AI Premium** (`EXT:ns_t3ai`) on a TYPO3 project for the first time.

T3AI needs **AI Foundation** (`EXT:ns_t3af`). AI Foundation connects your AI providers (API keys, models, prompts, and shared AI services). Without it, T3AI cannot run.

## Quick overview for new customers

You will install and activate these pieces:

1. **T3Planet Shop** (`EXT:ns_license`) — unlocks your Premium download
2. **T3AI** (`EXT:ns_t3ai`) — the AI Assistant extension
3. **AI Foundation** (`EXT:ns_t3af`) — shared AI engine used by T3AI
4. **Database updates** — so TYPO3 creates the required tables
5. **AI provider setup** — so T3AI can send AI requests
6. **Final check** — confirm modules load and the license is active

Follow the steps below in order. Choose **either** Non-Composer **or** Composer in Step 2 — not both.

> [!NOTE]
>
> If you are upgrading from an older version (**13.7.0** or earlier) to the latest release,
> follow [Reinstall After Upgrading](https://docs.t3planet.de/en/latest/ExtNsT3AI/v14-6-1/ReInstallEverything/Index.md) instead of this installation guide.

## Before you start

Make sure you have:

* Backend access as an administrator
* Your **T3AI license key** from T3Planet (for Premium)
* Decided whether your project uses **Composer** or the **TYPO3 Extension Manager**
* An AI provider account/API key ready (for example OpenAI) for Step 5

## Step 1 — Install the T3Planet Shop

Install the latest version of `EXT:ns_license` before continuing.

The T3Planet Shop controls access to T3Planet Premium packages and is required to download and activate T3AI.

## Step 2 — Activate the License

Pick the path that matches your project. For screenshots and all details, see [License Activation](https://docs.t3planet.de/en/latest/License/LicenseActivation/Index.md).

### Non-Composer Installation

Use this workflow when your project installs T3Planet extensions from the TYPO3 backend. Details: [License Activation — Install via Extension Manager](https://docs.t3planet.de/en/latest/License/LicenseActivation/Index.md#install-via-extension-manager).

1. Open **System** → **T3Planet Shop** (TYPO3 v12/v13: **Admin Tools** → **T3Planet Shop**).
2. Enter your T3AI license key.
3. Activate the license.
4. Confirm that the latest T3AI package is downloaded.
5. Confirm that AI Foundation (`EXT:ns_t3af`) is installed automatically or available after activation.

### Composer Installation

Use this workflow when your TYPO3 project is managed with Composer. Details: [License Activation — Install via Composer](https://docs.t3planet.de/en/latest/License/LicenseActivation/Index.md#install-via-composer).

1. Check the T3Planet Composer repository configuration.
2. Update the `only` parameter so the project can download T3AI:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
"only": [
  "nitsan/ns-t3ai"
]
```

3. Install the T3AI package:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
composer require nitsan/ns-t3ai
```

4. Verify that the installation completed successfully.
5. Confirm that AI Foundation (`nitsan/ns-t3af` / `EXT:ns_t3af`) is installed. If it is missing, install it using **Step 3 — Install AI Foundation**.

Full license activation details: [License Activation](https://docs.t3planet.de/en/latest/License/LicenseActivation/Index.md)

## Step 3 — Install AI Foundation

AI Foundation (`EXT:ns_t3af`) is required before T3AI can be used.
It provides the shared AI provider configuration, models, API access, logs, and service layer used by T3AI.

If AI Foundation was already installed in Step 2, you can skip to Step 4.

**AI Foundation** is the shared AI infrastructure for T3Planet AI Universe extensions.
Complete the parent setup first, then continue with the remaining T3AI steps below.

AI Foundation is available from the TYPO3 Extension Repository (TER).

Download / TER page: [https://extensions.typo3.org/extension/ns\_t3af](https://extensions.typo3.org/extension/ns_t3af)

### AI Foundation has two provider modes

In **AI Foundation → AI Providers**, choose how T3AI gets AI access:

**Your Own API Keys**

Use this mode when you want to connect your own AI vendor accounts. You store
and manage your API keys (for example OpenAI, Anthropic, Gemini) in AI
Foundation and run AI features through those providers.

**T3Planet Credits**

**T3Planet Credits** is T3Planet’s managed AI access for AI Foundation. It lets
your TYPO3 site use AI features **without storing or managing your own vendor
API keys**. Your Own API Keys remains the default mode; with T3Planet Credits you pay for usage only.

See [T3Planet Credits](https://docs.t3planet.de/en/latest/ExtNsT3AF/T3Planet-Credit-System/Index).

### Option 1 — Extension Manager (TER)

1. Open **Admin Tools** → **Extensions**.
2. Select **Get Extensions**.
3. Search for `ns_t3af` or **AI Foundation**.
4. Install and activate the extension.
5. Flush all TYPO3 caches.

### Option 2 — Composer

If AI Foundation is not already present after installing T3AI, install it with:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
composer require nitsan/ns-t3af
```

Then flush all TYPO3 caches.

Helpful AI Foundation references:

* [AI Foundation Installation](https://docs.t3planet.de/en/latest/ExtNsT3AF/Installation/Index.md)
* [AI Foundation Configuration](https://docs.t3planet.de/en/latest/ExtNsT3AF/Configuration/Index)
* [AI Providers](https://docs.t3planet.de/en/latest/ExtNsT3AF/Configuration/AIProviders/Index.md)
* [T3Planet Credits](https://docs.t3planet.de/en/latest/ExtNsT3AF/T3Planet-Credit-System/Index)

## Step 4 — Run Database Analyzer

After installing the extension, apply all pending database changes:

1. Open **Admin Tools**.
2. Go to **Maintenance**.
3. Open **Analyze Database Structure**.
4. Apply all pending database schema updates.

Run this before using T3AI modules in the TYPO3 backend.

## Step 5 — Configure the AI Provider

After installation:

1. Open **AI Universe > AI Foundation > AI Providers**.
2. Choose the **AI Provider Mode** and add your provider.
3. Save the provider and check that it shows **Connected**.

T3AI will not function correctly until AI Foundation has a working AI provider configuration. Step by step: [AI provider & API keys](https://docs.t3planet.de/en/latest/ExtNsT3AI/v14-6-1/Configuration/AIProviders/Index.md).

## Step 6 — Verify the Installation

Before handing the system to editors, verify that:

* `EXT:ns_t3ai` is installed and active.
* `EXT:ns_t3af` is installed and active.
* The T3AI license is active.
* Database Analyzer changes are applied.
* The AI provider is configured in AI Foundation.
* TYPO3 caches are cleared.
* T3AI backend modules load without errors.

If all items above are true, installation is complete.

## Next steps

1. Set up T3AI in the order shown on [Configuration](https://docs.t3planet.de/en/latest/ExtNsT3AI/v14-6-1/Configuration/Index): provider, AI Features cards, and permissions.
2. Try a first feature, for example [SEO](https://docs.t3planet.de/en/latest/ExtNsT3AI/v14-6-1/SEO/Index.md) or [Translation](https://docs.t3planet.de/en/latest/ExtNsT3AI/v14-6-1/Translation/Index).

## 30-day trial and license activation

For license activation and premium installation details, see [License](https://docs.t3planet.de/en/latest/License/Index).


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