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

# Additional

The following services are optional and can be configured based on your needs:

## Unsplash

```bash web/.env theme={null}
UNSPLASH_ACCESS_KEY=
```

Integration for displaying a background image to your login page. If not set, no image will be displayed - the login will be centered.
Get your access key from the [Unsplash Developer Portal](https://unsplash.com/developers)

## Redis

```bash web/.env theme={null}
RATE_LIMITING=1

# Redis (only needed when rate limiting is enabled or to optimize the unsplash login background image loading)
UPSTASH_REDIS_REST_URL=https://yourname.upstash.io
UPSTASH_REDIS_REST_TOKEN=
```

1. Create a free account on [Upstash](https://upstash.com)
2. Set up a new Redis database in the [Upstash Console](https://console.upstash.com)
3. Copy the Endpoint URL (beginning with https\://) to `UPSTASH_REDIS_REST_URL` and your password to `UPSTASH_REDIS_REST_TOKEN`

## Posthog

```bash web/.env theme={null}
NEXT_PUBLIC_POSTHOG_KEY=
POSTHOG_REGION=
```

1. Create a free account on [Posthog](https://posthog.com)
2. Select every feature you want to use (I'd recommend all of them)
3. Copy the project API key to `NEXT_PUBLIC_POSTHOG_KEY` and set your region in `POSTHOG_REGION`. You will find it the `posthog.init()` function in the snippet provided by Posthog.
4. Open the `appConfig.tsx` file and ensure the `services.posthog` is enabled.

<Tip>
  You can of course use the self-hosted version of Posthog. In this case, you need to set up your own instance and configure the URL and API key accordingly.

  You then either need to change the `api_host` value in the `posthog.init()` function or change the proxy settings in the `next.config.mjs` file.
</Tip>

## Plausible

```bash web/.env theme={null}
NEXT_PUBLIC_PLAUSIBLE_URL=https://plausible.url.com
```

For Plausible, you can use the hosted version or self-hosted version.

1. Create a free account on [Plausible](https://plausible.io) or set up your own instance.
2. Copy your domain to `NEXT_PUBLIC_PLAUSIBLE_URL`
3. Open the `appConfig.tsx` file and ensure the `services.plausible` is enabled.
4. Go to `web/a/[locale]/layout.tsx` and change the config as needed. The existing is working for self-hosted instances.

## Analytics

See the [Google Analytics](/analytics/google-analytics) page for setting up environment variables.
