# How to connect Nanonets OCR to Grok Bot

```json
{
  "title": "How to connect Nanonets OCR to Grok Bot",
  "toolkit": "Nanonets OCR",
  "toolkit_slug": "nanonets_ocr",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/nanonets_ocr/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/nanonets_ocr/framework/grok-bot.md",
  "updated_at": "2026-11-16T06:01:12.438Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Nanonets OCR to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Nanonets OCR in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/nanonets_ocr).

## TL;DR

Composio exposes 1,700+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,700+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Nanonets OCR to Grok Bot

### Connecting Nanonets OCR to Grok Bot
Once Grok Bot is set up, you connect Nanonets OCR entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Nanonets OCR
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Nanonets OCR account
Back in the chat, ask your bot to connect to Nanonets OCR or give it any Nanonets OCR task.
For example, ask it to:
- "Extract invoice totals from uploaded PDFs"
- "Read purchase orders into structured fields"
- "Convert scanned receipts to expense data"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Nanonets OCR account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Nanonets OCR through MCP without you sharing account credentials directly with the agent.

## What is the Nanonets OCR MCP server, and what's possible with it?

The Nanonets OCR MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Nanonets OCR account. It provides structured and secure access to your OCR models and document extraction results, so your agent can review models, extract fields and tables from public document URLs, find past predictions, and retrieve page or file results on your behalf.
- Document data extraction: Have your agent extract model-defined fields and tables from a publicly reachable document URL.
- OCR model review: Let the agent list your available OCR models and check their readiness, accuracy, extraction fields, and table setup.
- Prediction history lookup: Direct your agent to find document prediction summaries for a model within a chosen date range.
- Complete file results: Instruct your agent to retrieve normalized extraction results for every page of a previously processed document.
- Page-level result review: Have your agent fetch the extracted fields and tables for a specific prediction page.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `NANONETS_OCR_EXTRACT_FROM_URL` | Extract From Public URL | Synchronously extract model-defined fields and tables from one publicly reachable document URL. Returns normalized page results, with page and file IDs when supplied by Nanonets, even if no matching fields are found. |
| `NANONETS_OCR_GET_MODEL` | Get OCR Model | Get readiness, accuracy, extraction fields, and table configuration for one Nanonets OCR model. |
| `NANONETS_OCR_GET_PREDICTION_FILE` | Get OCR Prediction File | Get normalized extraction results for every page of one previously processed Nanonets OCR file. A successful page can have no extracted fields. |
| `NANONETS_OCR_GET_PREDICTION_PAGE` | Get OCR Prediction Page | Get normalized extracted fields and tables for an OCR prediction page. If the response contains no page matching the requested ID, the tool returns the first page in the response. |
| `NANONETS_OCR_LIST_MODELS` | List OCR Models | List the OCR models available to the connected Nanonets account, including each model's ID, readiness state, and extraction categories. |
| `NANONETS_OCR_LIST_PREDICTIONS` | List OCR Predictions | List compact OCR prediction-page summaries for a model within an inclusive UTC date range. Nanonets returns the entire matching range without pagination, so prefer narrow ranges when a model has substantial history. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Nanonets OCR MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Nanonets OCR is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Nanonets OCR MCP Agent with another framework

None listed.

## Related Toolkits

- [Google Drive](https://composio.dev/toolkits/googledrive) - Google Drive is a cloud storage platform for uploading, sharing, and collaborating on files. It's perfect for keeping your documents accessible and organized across devices.
- [Google Docs](https://composio.dev/toolkits/googledocs) - Google Docs is a cloud-based word processor that enables document creation and real-time collaboration. Its seamless sharing and version history make team editing and content management a breeze.
- [Google Super](https://composio.dev/toolkits/googlesuper) - Google Super is an all-in-one suite combining Gmail, Drive, Calendar, Sheets, Analytics, and more. It gives you a unified platform to manage your digital life, boosting productivity and organization.
- [ActiveMerge](https://composio.dev/toolkits/active_merge) - ActiveMerge is a document automation platform for generating documents, images, merged files, and e-signature workflows. It helps teams turn templates and stored files into finished, shareable documents faster.
- [Affinda](https://composio.dev/toolkits/affinda) - Affinda is an AI-powered document processing platform that automates data extraction from resumes, invoices, and more. It streamlines document-heavy workflows by turning files into structured, actionable data.
- [Agility cms](https://composio.dev/toolkits/agility_cms) - Agility CMS is a headless content management system for building and managing digital experiences across platforms. It lets teams update content quickly and deliver omnichannel experiences with ease.
- [Airparser](https://composio.dev/toolkits/airparser) - Airparser is an AI-powered parser for extracting structured data from emails, documents, PDFs, and files. It turns messy inbound content into clean fields your apps and workflows can use.
- [Algodocs](https://composio.dev/toolkits/algodocs) - Algodocs is an AI-powered platform that automates data extraction from business documents. It delivers fast, secure, and accurate processing without templates or manual training.
- [Api2pdf](https://composio.dev/toolkits/api2pdf) - Api2Pdf is a REST API for generating PDFs from HTML, URLs, and documents using powerful engines like wkhtmltopdf and Headless Chrome. It streamlines document conversion and automation for developers and businesses.
- [Archive.org](https://composio.dev/toolkits/archive_org) - Archive.org is the Internet Archive's digital library of websites, books, audio, video, and images. Use it to preserve, explore, and access historical web captures and public-domain media.
- [Aryn](https://composio.dev/toolkits/aryn) - Aryn is an AI-powered platform for parsing, extracting, and analyzing data from unstructured documents. Use it to automate document processing and unlock actionable insights from your files.
- [Boldsign](https://composio.dev/toolkits/boldsign) - Boldsign is a digital eSignature platform for sending, signing, and tracking documents online. Organizations use it to automate agreements and manage legally binding workflows efficiently.
- [Boloforms](https://composio.dev/toolkits/boloforms) - BoloForms is an eSignature platform built for small businesses, offering unlimited signatures, templates, and forms. It simplifies digital document signing and team collaboration at a predictable, fixed price.
- [Box](https://composio.dev/toolkits/box) - Box is a cloud content management and file sharing platform for businesses. It helps teams securely store, organize, and collaborate on files from anywhere.
- [Box MCP](https://composio.dev/toolkits/box_mcp) - Box MCP is Box's hosted MCP server that exposes enterprise files, folders, and metadata. It provides secure, centralized access to corporate content for search and management.
- [Carbone](https://composio.dev/toolkits/carbone) - Carbone is a blazing-fast report generator that turns JSON data into PDFs, Word docs, spreadsheets, and more using flexible templates. It lets you automate document creation at scale with minimal code.
- [Castingwords](https://composio.dev/toolkits/castingwords) - CastingWords is a transcription service specializing in human-powered, accurate transcripts via a simple API. Get seamless audio-to-text conversion for interviews, meetings, podcasts, and more.
- [CertSeal](https://composio.dev/toolkits/cert_seal) - CertSeal is an API platform for issuing and managing verifiable digital certificates. Use it to automate trusted certificate workflows for recipients, batches, designs, and webhooks.
- [Cloudconvert](https://composio.dev/toolkits/cloudconvert) - CloudConvert is a powerful file conversion service supporting over 200 file formats. It streamlines converting, compressing, and managing documents, media, and more, all in one place.
- [Cloudlayer](https://composio.dev/toolkits/cloudlayer) - Cloudlayer is a document and asset generation service for creating PDFs and images via API or SDKs. It lets you automate high-quality doc creation, saving dev time and reducing manual work.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Nanonets OCR MCP?

With a standalone Nanonets OCR MCP server, the agents and LLMs can only access a fixed set of Nanonets OCR tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Nanonets OCR and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Nanonets OCR tools.

### Can I manage the permissions and scopes for Nanonets OCR while using Tool Router?

Yes, absolutely. You can configure which Nanonets OCR scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Nanonets OCR data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
