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

# Setup

> Connect LumApps to Ravenna with a LumApps application, your cell and organization ID, and a service user that reads your LumApps users.

> [!NOTE]
>
> Connect LumApps with a LumApps application that can act as your users

## Prerequisites

* Access to the LumApps back office to create a LumApps application
* A LumApps user that can list and read every user, for user sync and account checks
* Organization Admin access in Ravenna

## Setup guide

### Create a LumApps application

**1. Open LumApps Applications**

In the LumApps back office, go to **Platform > Provider settings > LumApps Applications**.

**2. Create the application**

Create an application with the `user.impersonate` and `all.read` scopes.

**3. Copy the credentials**

Copy the application ID and client secret. LumApps shows the secret only once.

| Permission | Why Ravenna needs it |
| - | - |
| Impersonate users (`user.impersonate`) | Each search runs as the person asking, so they only see content they can open in LumApps. |
| Read users (`all.read`) | Match LumApps users to Ravenna users. |

> [card] [LumApps application tokens](https://api.lumapps.com/docs/lumapps-public-api/2066f43959c17-retrieve-a-token-from-a-lum-apps-application-beta)
>
> Learn how LumApps applications issue tokens.

### Add integration

**1. Navigate to integrations**

Go to **Settings > Integrations** and find **LumApps** in the **External Knowledge** section.

**2. Select LumApps**

Click **Connect** on the LumApps card.

**3. Enter the connection details**

**Application ID** `string` *required*

The ID of your LumApps application.

**Client secret** `string` *required*

The client secret LumApps showed when you created the application.

**Cell** `string` *required*

Your LumApps cell name only, such as `go-cell-001` or `go-cell-001.beta`. LumApps shows it in the **Advanced Debug Info** modal.

**Organization ID** `string` *required*

Your LumApps organization ID, under **Platform settings** in the back office.

**Service user email** `string` *required*

A LumApps user that can list and read every user. Ravenna uses it to sync users, and to confirm that someone sync hasn't matched yet is an enabled LumApps user before searching as them. Keep its access after setup, or searches for new people fail until the next sync. Searches always run as the person asking.

**Content language** `string` (default: en)

The language Ravenna reads titles and bodies in.

**4. Complete setup**

Click **Connect**. Ravenna tests the connection by acting as the service user. User sync runs every 24 hours by default; change it with **Sync Interval** on the integration's settings.

**5. Turn it on for your agents**

Open each Ticket Agent that should search LumApps and turn it on. See [External Knowledge](https://docs.ravenna.ai/integrations/lumapps/external-knowledge.md).

## Troubleshooting

> [accordion] Could not reach LumApps
>
> **Cause**: Ravenna couldn't act as the service user with these details.
>
> **Solution**: Check the **Cell**, **Organization ID**, **Application ID** and **Client secret**, that the application has both scopes, and that the service user can list users.

> [accordion] LumApps is left out for people sync hasn't matched yet
>
> **Cause**: The service user can no longer read your LumApps users. Ravenna uses it to check that someone not yet matched by user sync is an enabled LumApps user before searching as them.
>
> **Solution**: Give the service user back access to list and read every user, or change **Service user email** to a user that has it.

> [accordion] Enter the cell name only
>
> **Cause**: **Cell** holds more than the cell name, such as a full URL.
>
> **Solution**: Enter only the cell, such as `go-cell-001`.


## Related topics

- [Setup](https://docs.ravenna.ai/integrations/okta/setup/overview.md)


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