# How to connect Nutrient Document Web Services API to Grok Bot

```json
{
  "title": "How to connect Nutrient Document Web Services API to Grok Bot",
  "toolkit": "Nutrient Document Web Services API",
  "toolkit_slug": "nutrient_document_web_services_api",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/nutrient_document_web_services_api/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/nutrient_document_web_services_api/framework/grok-bot.md",
  "updated_at": "2026-11-05T06:01:52.034Z"
}
```

## 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 Nutrient Document Web Services API 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 Nutrient Document Web Services API in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/nutrient_document_web_services_api).

## TL;DR

Composio exposes 2,000+ apps to your Grok bot through a single connection, so you get:
- Connect to 2,000+ 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 Nutrient Document Web Services API to Grok Bot

### Connecting Nutrient Document Web Services API to Grok Bot
Once Grok Bot is set up, you connect Nutrient Document Web Services API 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 Nutrient Document Web Services API
### 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 Nutrient Document Web Services API account
Back in the chat, ask your bot to connect to Nutrient Document Web Services API or give it any Nutrient Document Web Services API task.
For example, ask it to:
- "OCR scanned invoices into searchable text"
- "Redact personal data from contracts"
- "Convert PDFs into editable documents"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Nutrient Document Web Services API 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 Nutrient Document Web Services API through MCP without you sharing account credentials directly with the agent.

## What is the Nutrient Document Web Services API MCP server, and what's possible with it?

The Nutrient Document Web Services API MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Nutrient Document Web Services API account. It provides structured and secure access to document processing and account usage, so your agent can create and convert documents, OCR and improve PDFs, stage redactions, add watermarks, and check costs and usage on your behalf.
- Document creation and conversion: Have your agent build documents from remote files, HTML, and new pages, or convert Markdown and public web pages into PDFs.
- Searchable and accessible PDFs: Let the agent apply OCR to scanned PDFs or add screen-reader tags for PDF/UA accessibility.
- Redaction review: Direct your agent to find matching content in a remote PDF and prepare a review copy with unapplied redaction marks.
- PDF watermarking: Instruct your agent to add positioned text or image watermarks to every page of a PDF.
- Cost and usage checks: Have your agent estimate a document job's required credits before processing, then review subscription status, remaining credits, and Processor usage.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_ANALYZE_BUILD_COST` | Analyze Build Cost | Estimate the credits and Processor features required by Build API instructions without executing the document job or consuming credits. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_BUILD_DOCUMENT` | Build Document | Synchronously create one document from remote files, remote HTML, new pages, and composable safe actions, returning its filename, media type, and Base64 content up to 4 MB. Use this for multi-part or multi-step workflows; applied redaction and JSON-content output are not supported. This consumes Processor credits; run ANALYZE_BUILD_COST and check GET_PROCESSOR_USAGE first. Free-tier output may be watermarked. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_CONVERT_MARKDOWN_TO_PDF` | Convert Markdown to PDF | Convert CommonMark or GitHub-Flavored Markdown text into a PDF using optional built-in styling, custom CSS, page layout, and syntax highlighting settings. Returns the filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_USAGE first. Free-tier output may be watermarked. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_CREATE_PDF_FROM_WEB_PAGE` | Create PDF from Web Page | Render an HTML web page at a public URL, with optional page layout settings, into a PDF. Returns the filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_USAGE first. Free-tier output may be watermarked. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_GET_ACCOUNT_INFO` | Get Account Information | Return the connected Nutrient account's subscription type, status, and estimated remaining credits. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_GET_PROCESSOR_USAGE` | Get Processor Usage | Return the connected account's Processor subscription status and credit usage counters. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_MAKE_PDF_ACCESSIBLE` | Make PDF Accessible | Auto-tag a PDF at a remote URL for PDF/UA screen-reader accessibility and return the result's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_USAGE first. Free-tier output may be watermarked. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_OCR_PDF` | OCR PDF | Apply optical character recognition to a PDF at a remote URL and return a searchable PDF's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_USAGE first. Free-tier output may be watermarked. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_REVOKE_JWT_TOKEN` | Revoke JWT Token | Immediately revoke a bearer token created by CREATE_JWT_TOKEN using its ID. Use this when a generated token is no longer needed or may be compromised. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_STAGE_PDF_REDACTIONS` | Stage PDF Redactions | Find matching content in a remote PDF and return a review PDF's filename, media type, and Base64 content up to 4 MB with unapplied redaction marks. This action cannot permanently apply redactions. It consumes Processor credits; check GET_PROCESSOR_USAGE first. Free-tier output may be watermarked. |
| `NUTRIENT_DOCUMENT_WEB_SERVICES_API_WATERMARK_PDF` | Watermark PDF | Add a positioned text or image watermark to every page of a PDF at a public URL and return the copy's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_USAGE first. Free-tier output may also include Nutrient's watermark. |

## Supported Triggers

None listed.

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

Once connected, your Grok bot can access the Nutrient Document Web Services API 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 Nutrient Document Web Services API 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 Nutrient Document Web Services API 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.
- [Apitemplate](https://composio.dev/toolkits/apitemplate_io) - Apitemplate is an API service for generating PDFs and images from reusable templates. It turns JSON data into branded documents and visuals without custom rendering code.
- [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.
- [Azure Blob Storage](https://composio.dev/toolkits/azure_blob_storage) - Azure Blob Storage is Microsoft's cloud object storage service for unstructured data. It offers durable, scalable storage for files, backups, media, and application data.
- [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.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Nutrient Document Web Services API MCP?

With a standalone Nutrient Document Web Services API MCP server, the agents and LLMs can only access a fixed set of Nutrient Document Web Services API tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Nutrient Document Web Services API 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 Nutrient Document Web Services API tools.

### Can I manage the permissions and scopes for Nutrient Document Web Services API while using Tool Router?

Yes, absolutely. You can configure which Nutrient Document Web Services API 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 Nutrient Document Web Services API data and credentials are handled as safely as possible.

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