Quick Start
Get started with Docling for IBM watsonx in minutes
Beginning Your Development
This guide will help you set up your first API call to Docling for IBM watsonx and convert your first document.
Prerequisites
Before you begin, you'll need:
- A Docling for IBM watsonx account
- Your Service URL and API Key
- A container environment (such as Podman), or Python (version 3.10+)
Obtaining Your Credentials
- Sign up at ibm.com/products/docling
- Complete the onboarding process
- Receive and store the following from the Docling for IBM watsonx client:
- Service URL - Your unique instance endpoint
- API Key - Your authentication token
Keep your API Key secure and never commit it to version control. Use environment variables to store credentials.
Using the Python SDK
For a more convenient experience, use the official Docling Python SDK. To install:
pip install "docling-serve[ui]"To start your server:
docling-serve run --enable-uiThe Python SDK handles the async workflow automatically, polling for completion and returning the final result.
Your First Conversion
Docling for IBM watsonx uses an asynchronous workflow for converting documents:
- Submit a document for conversion
- Poll the status endpoint to check progress
- Retrieve the converted result
Start at the Basic Conversion guide for a simple example on using the API endpoints and the Python SDK.
Troubleshooting Common Errors
Invalid API Key
- Verify your API Key is correct
- Check that you're using the
X-Api-Keyheader
Task Not Found
- Ensure you're using the correct
task_id - Tasks may expire after a certain period
Conversion Failed
- Check the error message in the status response
- Verify your document format is supported
- Ensure the document is not corrupted
For more help, consult the FAQ page or contact support.
Next Steps
Visit these pages to continue exploring how to use Docling for IBM watsonx.