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

# Overview

> Translate your entire website into multiple languages with a single script tag.

CAMB AI **Website Translation** lets you add multilingual support to your site by dropping in a single `<script>` tag. Once installed, a translation dropdown appears on the page, and visitors can switch their language with one click — text is translated on the fly and cached via Redis for near-instant subsequent loads.

## How it works

1. You create a **Website Configuration** in CAMB AI Studio with your domain, source language, target languages, and a Redis cache URL.
2. Studio generates an **API key** scoped to that configuration.
3. You include the Website Translator script on your site, passing the API key via a `data-api-key` attribute.
4. The script renders a language picker, translates page content as visitors switch languages, and caches results in Redis so repeat visits are instant.

## What you'll need

* **A production domain** (the script is bound to the domain you register).
* **A Redis cache** — we recommend [Upstash](https://upstash.com) for a managed, serverless Redis with a free tier. See [Set up Redis with Upstash](https://docs.camb.ai/other-products/website-translation/redis-cache.md).
* **A list of source and target languages** for your site.

## Get started

> [card] [Next.js (Page Router)](https://docs.camb.ai/other-products/website-translation/nextjs-page-router.md)
>
> Integrate the translator using `next/script` in `pages/_app.tsx`.

> [card] [Set up Redis with Upstash](https://docs.camb.ai/other-products/website-translation/redis-cache.md)
>
> Provision a free Redis instance and grab the `rediss://` URL.

> [!NOTE]
>
> Working with the Next.js App Router or another framework? The same script-tag approach applies — load the script with the `data-api-key` attribute on every page. The integration guides will expand to cover more frameworks over time.


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