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

# Connect DataJuri

> How to connect your DataJuri user to Morada OS with an API token, what the assistant can look up, and how to disconnect whenever you want.

DataJuri is the legal management system where the firm tracks cases, case updates, deadlines and appointments. Connecting DataJuri to Morada OS lets you ask about all of that in plain language ("which deadlines fall this week?") and get the answer in the conversation.

***

## Before you start

> [card] Access to Morada OS
>
> An active account on [os.morada.ai](https://os.morada.ai), with your company's corporate login.

> [card] An API token for your user
>
> The firm's administrator generates a token for each person in DataJuri. Each person uses their own token: that way the assistant keeps your access profile and sees only what you would see on the DataJuri screen.

***

## For the administrator: generate each user's token

**1. Open the tokens screen**

In DataJuri, go to **Configurações > Empresa > API** (Settings > Company > API). The **Tokens da API DataJuri** (DataJuri API tokens) screen lists the firm's tokens, with the status, user and permissions of each one.

![DataJuri API tokens screen, listing the tokens by user, the status of each one and the New token button](https://mintcdn.com/moradaai-f7bfc739/YlCjS3d08jhUYTIP/images/morada-os/conectores/datajuri-01-tokens-api.png?fit=max\&auto=format\&n=YlCjS3d08jhUYTIP\&q=85\&s=a8f06470d3466469f68d779f16cdb042)

**2. Create a token for the user, with the Reading role**

Click **Novo token** (New token), choose the user and the **Leitura** (Reading) role. DataJuri allows creating and changing records through the integration, but in Morada OS those actions are still turned off, so the Reading role is enough. With a Reading-only token, DataJuri itself refuses any write.

DataJuri shows the token secret **only once**, when it is created. Copy it and hand it to the person through a secure channel.

> [!NOTE]
>
> The token applies to every module released in the API, but never goes beyond the access profile of the user who owns it. If the administrator revokes the token, access stops immediately.

***

## How to connect

**1. Open DataJuri in Connectors**

In the Morada OS sidebar, click **Conectores** (Connectors), find **DataJuri** and click **Conectar** (Connect).

**2. Paste the token and authorize**

Morada OS opens the **Autorizar acesso ao DataJuri** (Authorize access to DataJuri) page. Paste your user's API token in the field and click **Autorizar** (Authorize).

![Authorize access to DataJuri page, with the field for your user's API token and the Cancel and Authorize buttons](https://mintcdn.com/moradaai-f7bfc739/YlCjS3d08jhUYTIP/images/morada-os/conectores/datajuri-02-autorizacao.png?fit=max\&auto=format\&n=YlCjS3d08jhUYTIP\&q=85\&s=50480ca37feb5dd3e7d2d4100e68a65e)

**3. Ask in the conversation**

Done. Go back to the conversation and ask, for example, "which deadlines fall this week?".

> [!NOTE]
>
> The token is stored encrypted in DataJuri and is not passed on to Morada OS. That way your DataJuri access profile keeps applying to everything the assistant looks up.

***

## What the assistant can do

In this version, Morada OS uses DataJuri **for lookups only**. The DataJuri integration allows creating, changing and completing records, but those actions are turned off in Morada OS for now. The integration does not delete records or send files to the GED (document store).

| Ask | What comes back |
| - | - |
| **Cases**: "how many active cases do we have?", "summarize case 0001234-56.2026.8.26.0100" | The number, or the case summary. The assistant finds a case by its CNJ number or by its folder. |
| **Case updates**: "which new updates appeared in the last 7 days?" | The updates in the period, with the case each one belongs to. |
| **Deadlines and appointments**: "which deadlines fall this week?" | The deadlines and appointments in the period. |
| **People and other modules** released in the API | The data your profile lets you see in DataJuri. |

> [!NOTE]
>
> The assistant only sees what your user would see on the DataJuri screen. If a question comes back empty or without access, check your user's profile in DataJuri with the administrator.

***

## Everyday use

> [!WARNING]
>
> Cases hold personal data and, sometimes, information under judicial secrecy. Before releasing DataJuri to the team, assess it with the firm's data protection officer. See how Morada OS handles information in [Security and privacy](https://docs.morada.ai/morada-os/en/security-and-privacy.md).

```text wrap theme={null}
Quais prazos vencem nesta semana?
```

```text wrap theme={null}
Quais andamentos novos apareceram nos últimos 7 dias?
```

```text wrap theme={null}
Quantos processos ativos temos?
```

```text wrap theme={null}
Resuma o processo 0001234-56.2026.8.26.0100
```

> [!TIP]
>
> Want better results? Read [How to ask well](https://docs.morada.ai/morada-os/en/use-cases/how-to-ask-well.md): three minutes of reading that improve every request you make.

For technical details and common problems, see the DataJuri API documentation.

***

## How to disconnect

You have two paths, and both work:

* **In Morada OS**: open **Conectores > DataJuri** and click **Desconectar** (Disconnect). The assistant stops accessing your DataJuri immediately.
* **In DataJuri**: ask the firm's administrator to revoke your token. Access stops immediately, in every integration using that token.

***

## Next steps

> [card] [All integrations](https://docs.morada.ai/morada-os/en/connectors.md)
>
> Everything else Morada OS connects to and where to find each guide.

> [card] [How to ask well](https://docs.morada.ai/morada-os/en/use-cases/how-to-ask-well.md)
>
> Three minutes that improve every request you make to the assistant.


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