---
author: OOMOL
author_url: https://oomol.com/about/
title: Use OOMOL in Codex
description: Ask Codex to install oo CLI, sign in to OOMOL, and verify access to
  connected App tools.
lang: en
canonical_url: https://oomol.com/docs/agents/codex/
markdown_url: https://oomol.com/docs/agents/codex.md
---

# Use OOMOL in Codex

Codex can set up oo CLI from a terminal-enabled coding environment. Paste the prompt below into your Codex task.

## Paste this prompt into Codex

```text
Please help me install and verify oo-cli:
1. Read the install guide https://cli.oomol.com/install-guide.md
2. Check whether `oo` is already available. If it is missing, show me the exact install command from the guide, explain what it downloads, and wait for my approval before running it.
3. Run `oo --version` to verify the installation.
4. Run `oo login` and let me finish sign-in in the browser.
```

Codex should stop when browser sign-in requires your action. Complete sign-in, then ask it to continue and verify the available OOMOL tools.

## Run the first task

Ask Codex to list or read data from one connected App before requesting a write operation. Check the App connection and parameters it plans to use.


## Connect an App and verify the result

1. Open the [App catalog](/integrations/) and choose an account you want your agent to use. Complete the provider authorization. If the account is already connected, keep using that connection.
2. For a Gmail connection, ask: “Read my connected Gmail profile and show which mailbox is connected.” Check the returned mailbox against the account you intended to authorize. This request does not need to send an email.
3. For a Notion connection, share a page with the integration, provide its URL, and ask your agent to read that page. Compare the returned content with the page. Nested blocks may require additional requests.

A successful installation or login confirms setup, while a returned App result confirms that the connection and tool call work together. Check the selected account before continuing with another task.

If the App is unavailable, check that the connection exists and grants the permissions required by the operation. Reconnect only when the authorization is missing or expired. For a failed request, ask the agent to report the service and error without including credentials.

For manual installation commands, see [Install oo CLI](/docs/agents/cli/).
