{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/docs/ai/document-ai/getting-started/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#getting-started\" aria-label=\"getting started permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"getting-started\"></div>Getting Started</h1>\n<p>This guide walks through processing a document with a platform-managed configuration and reviewing the resulting data.</p>\n<h2 style=\"position:relative;\"><a href=\"#prerequisites\" aria-label=\"prerequisites permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"prerequisites\"></div>Prerequisites</h2>\n<ul>\n<li>\nA Shipwell account with Document AI enabled\n</li>\n<li>\nAccess to the \n<a href=\"/docs/get-connected/environments/\">Shipwell Sandbox</a>\n</li>\n<li>\nA valid Shipwell \n<a href=\"/docs/get-connected/authentication/\">user token</a>\n</li>\n<li>\nA synthetic or non-sensitive PDF for testing\n</li>\n</ul>\n<h2 style=\"position:relative;\"><a href=\"#step-1-choose-a-platform-managed-configuration\" aria-label=\"step 1 choose a platform managed configuration permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"step-1-choose-a-platform-managed-configuration\"></div>Step 1: Choose a platform-managed configuration</h2>\n<p>In Shipwell:</p>\n<ol>\n<li>\nOpen \n<strong>Document AI</strong>\n.\n</li>\n<li>\nSelect \n<strong>Configuration</strong>\n.\n</li>\n<li>\nOpen \n<strong>Processing Configuration</strong>\n.\n</li>\n<li>\nFind a configuration marked \n<strong>Platform</strong>\n.\n</li>\n<li>\nOpen the configuration to review what it extracts and which processing features it enables.\n</li>\n</ol>\n<p>Platform-managed configurations are maintained by Shipwell and are read-only. See <a href=\"/docs/ai/document-ai/platform-managed-configurations/\">Platform-Managed Configurations</a>.</p>\n<p><img src=\"/8fdd19d06d2a39050f521a7d25f0137c/platform-config-list.png\" alt=\"Platform-managed processing configurations\"></p>\n<h2 style=\"position:relative;\"><a href=\"#step-2-upload-and-process-a-document\" aria-label=\"step 2 upload and process a document permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"step-2-upload-and-process-a-document\"></div>Step 2: Upload and process a document</h2>\n<ol>\n<li>\nReturn to the Document AI document list.\n</li>\n<li>\nSelect \n<strong>Upload documents</strong>\n.\n</li>\n<li>\nAdd your test document.\n</li>\n<li>\nIn \n<strong>Upload behavior</strong>\n, select the platform-managed configuration.\n</li>\n<li>\nReview the upload and submit it.\n</li>\n</ol>\n<p>Only enabled configurations appear in the upload selector.</p>\n<!-- SCREENSHOT PLACEHOLDER\nFile: images/upload-select-platform-config.png\nCapture: Upload drawer processing step with a platform-managed configuration selected. Use a synthetic filename and hide unrelated tenant data.\nAlt: Selecting a platform-managed configuration during upload\n-->\n<h2 style=\"position:relative;\"><a href=\"#step-3-monitor-processing\" aria-label=\"step 3 monitor processing permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"step-3-monitor-processing\"></div>Step 3: Monitor processing</h2>\n<p>After upload, the document appears in the document list. Processing is asynchronous, so the status changes as work progresses.</p>\n<p>Common statuses are:</p>\n<ul>\n<li>\n<code class=\"language-text\">pending</code>\n — processing has been requested\n</li>\n<li>\n<code class=\"language-text\">processing</code>\n — processing is in progress\n</li>\n<li>\n<code class=\"language-text\">completed</code>\n — results are ready\n</li>\n<li>\n<code class=\"language-text\">failed</code>\n — processing did not complete\n</li>\n<li>\n<code class=\"language-text\">skipped</code>\n or \n<code class=\"language-text\">oversized</code>\n — the file was stored but was not eligible for the requested processing\n</li>\n</ul>\n<p>Open the document to view its latest processing status and progress.</p>\n<!-- SCREENSHOT PLACEHOLDER\nFile: images/document-processing-status.png\nCapture: Document detail showing a completed latest run, current status, and available result. Use a synthetic document.\nAlt: Completed Document AI processing run\n-->\n<h2 style=\"position:relative;\"><a href=\"#step-4-review-the-results\" aria-label=\"step 4 review the results permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"step-4-review-the-results\"></div>Step 4: Review the results</h2>\n<p>When processing completes:</p>\n<ol>\n<li>\nOpen the document.\n</li>\n<li>\nSelect its latest run.\n</li>\n<li>\nReview the summary and extracted schemas.\n</li>\n<li>\nSelect an extracted value to inspect its source when source regions are available.\n</li>\n</ol>\n<p>The exact result depends on the selected configuration. See <a href=\"/docs/ai/document-ai/using-results/\">Reading Results</a>.</p>\n<h2 style=\"position:relative;\"><a href=\"#api-equivalent\" aria-label=\"api equivalent permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"api-equivalent\"></div>API equivalent</h2>\n<p>Upload one document with a known processing configuration:</p>\n\n      <div class=\"code-snippets-tabs\" >\n    <div class=\"snippets-tabs-headers\">\n      <span class=\"tab-header active\" data-lang=\"curl\" data-snippet-id=\"curl\">curl</span><span class=\"tab-header \" data-lang=\"python\" data-snippet-id=\"python\">python</span>\n    </div>\n    <div class=\"snippets-tabs-contents\">\n      <div class=\"tab-content active\" data-lang=\"curl\" data-snippet-id=\"curl\"><div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"30123336918302736000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`curl -X POST &quot;https://sandbox-api.shipwell.com/document-store/documents&quot; \\\\\n  -H &quot;Authorization: Token <user-token>&quot; \\\\\n  -F 'payload={\n    &quot;processing_config_id&quot;: &quot;<processing-config-id>&quot;,\n    &quot;files&quot;: [{&quot;filename&quot;: &quot;sample-bol.pdf&quot;}]\n  }' \\\\\n  -F &quot;files=@sample-bol.pdf&quot;`, `30123336918302736000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-30123336918302736000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"curl\"><pre class=\"language-curl\"><code class=\"language-curl\">curl -X POST &quot;https://sandbox-api.shipwell.com/document-store/documents&quot; \\\n  -H &quot;Authorization: Token &lt;user-token&gt;&quot; \\\n  -F &#39;payload={\n    &quot;processing_config_id&quot;: &quot;&lt;processing-config-id&gt;&quot;,\n    &quot;files&quot;: [{&quot;filename&quot;: &quot;sample-bol.pdf&quot;}]\n  }&#39; \\\n  -F &quot;files=@sample-bol.pdf&quot;</code></pre></div>\n      </div></div><div class=\"tab-content \" data-lang=\"python\" data-snippet-id=\"python\"><div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"22133352605061620000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`import json\n\nimport requests\n\nwith open(&quot;sample-bol.pdf&quot;, &quot;rb&quot;) as document_file:\n    response = requests.post(\n        &quot;https://sandbox-api.shipwell.com/document-store/documents&quot;,\n        headers={&quot;Authorization&quot;: &quot;Token <user-token>&quot;},\n        data={\n            &quot;payload&quot;: json.dumps(\n                {\n                    &quot;processing_config_id&quot;: &quot;<processing-config-id>&quot;,\n                    &quot;files&quot;: [{&quot;filename&quot;: &quot;sample-bol.pdf&quot;}],\n                }\n            )\n        },\n        files={&quot;files&quot;: (&quot;sample-bol.pdf&quot;, document_file, &quot;application/pdf&quot;)},\n        timeout=60,\n    )\nresponse.raise_for_status()\ndocument = response.json()[&quot;documents&quot;][0]`, `22133352605061620000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-22133352605061620000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"python\"><pre class=\"language-python\"><code class=\"language-python\"><span class=\"token keyword\">import</span> json\n\n<span class=\"token keyword\">import</span> requests\n\n<span class=\"token keyword\">with</span> <span class=\"token builtin\">open</span><span class=\"token punctuation\">(</span><span class=\"token string\">\"sample-bol.pdf\"</span><span class=\"token punctuation\">,</span> <span class=\"token string\">\"rb\"</span><span class=\"token punctuation\">)</span> <span class=\"token keyword\">as</span> document_file<span class=\"token punctuation\">:</span>\n    response <span class=\"token operator\">=</span> requests<span class=\"token punctuation\">.</span>post<span class=\"token punctuation\">(</span>\n        <span class=\"token string\">\"https://sandbox-api.shipwell.com/document-store/documents\"</span><span class=\"token punctuation\">,</span>\n        headers<span class=\"token operator\">=</span><span class=\"token punctuation\">{</span><span class=\"token string\">\"Authorization\"</span><span class=\"token punctuation\">:</span> <span class=\"token string\">\"Token &lt;user-token>\"</span><span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n        data<span class=\"token operator\">=</span><span class=\"token punctuation\">{</span>\n            <span class=\"token string\">\"payload\"</span><span class=\"token punctuation\">:</span> json<span class=\"token punctuation\">.</span>dumps<span class=\"token punctuation\">(</span>\n                <span class=\"token punctuation\">{</span>\n                    <span class=\"token string\">\"processing_config_id\"</span><span class=\"token punctuation\">:</span> <span class=\"token string\">\"&lt;processing-config-id>\"</span><span class=\"token punctuation\">,</span>\n                    <span class=\"token string\">\"files\"</span><span class=\"token punctuation\">:</span> <span class=\"token punctuation\">[</span><span class=\"token punctuation\">{</span><span class=\"token string\">\"filename\"</span><span class=\"token punctuation\">:</span> <span class=\"token string\">\"sample-bol.pdf\"</span><span class=\"token punctuation\">}</span><span class=\"token punctuation\">]</span><span class=\"token punctuation\">,</span>\n                <span class=\"token punctuation\">}</span>\n            <span class=\"token punctuation\">)</span>\n        <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n        files<span class=\"token operator\">=</span><span class=\"token punctuation\">{</span><span class=\"token string\">\"files\"</span><span class=\"token punctuation\">:</span> <span class=\"token punctuation\">(</span><span class=\"token string\">\"sample-bol.pdf\"</span><span class=\"token punctuation\">,</span> document_file<span class=\"token punctuation\">,</span> <span class=\"token string\">\"application/pdf\"</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n        timeout<span class=\"token operator\">=</span><span class=\"token number\">60</span><span class=\"token punctuation\">,</span>\n    <span class=\"token punctuation\">)</span>\nresponse<span class=\"token punctuation\">.</span>raise_for_status<span class=\"token punctuation\">(</span><span class=\"token punctuation\">)</span>\ndocument <span class=\"token operator\">=</span> response<span class=\"token punctuation\">.</span>json<span class=\"token punctuation\">(</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">[</span><span class=\"token string\">\"documents\"</span><span class=\"token punctuation\">]</span><span class=\"token punctuation\">[</span><span class=\"token number\">0</span><span class=\"token punctuation\">]</span></code></pre></div>\n      </div></div>\n    </div></div>\n    \n<p>Use the returned document <code class=\"language-text\">id</code> to monitor processing or retrieve results.</p>\n<h2 style=\"position:relative;\"><a href=\"#next-steps\" aria-label=\"next steps permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"next-steps\"></div>Next steps</h2>\n<ul>\n<li>\nLearn how to \n<a href=\"/docs/ai/document-ai/processing-configurations/\">choose a processing configuration</a>\n</li>\n<li>\nReview every upload option in \n<a href=\"/docs/ai/document-ai/uploading-documents/\">Uploading Documents</a>\n</li>\n<li>\nLearn \n<a href=\"/docs/ai/document-ai/processing-documents/\">how processing works</a>\n</li>\n<li>\nLearn how to create \n<a href=\"/docs/ai/document-ai/runs-and-reprocessing/\">new runs and reprocess documents</a>\n</li>\n</ul>","headings":[{"value":"Getting Started","depth":1},{"value":"Prerequisites","depth":2},{"value":"Step 1: Choose a platform-managed configuration","depth":2},{"value":"Step 2: Upload and process a document","depth":2},{"value":"Step 3: Monitor processing","depth":2},{"value":"Step 4: Review the results","depth":2},{"value":"API equivalent","depth":2},{"value":"Next steps","depth":2}]},"contentItem":{"data":{"lastModified":"2026-07-17T16:00:10.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":true,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"c9dcb260-5c66-50b0-8254-ced8edadd769__redocly content/docs/ai/document-ai/getting-started/","seo":{"title":"Getting Started","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"docs/ai/document-ai/getting-started.md","pageBaseUrl":"/docs/ai/document-ai/getting-started","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Getting Started","id":"getting-started"},{"depth":2,"value":"Prerequisites","id":"prerequisites"},{"depth":2,"value":"Step 1: Choose a platform-managed configuration","id":"step-1-choose-a-platform-managed-configuration"},{"depth":2,"value":"Step 2: Upload and process a document","id":"step-2-upload-and-process-a-document"},{"depth":2,"value":"Step 3: Monitor processing","id":"step-3-monitor-processing"},{"depth":2,"value":"Step 4: Review the results","id":"step-4-review-the-results"},{"depth":2,"value":"API equivalent","id":"api-equivalent"},{"depth":2,"value":"Next steps","id":"next-steps"}]},"data":{"title":"Getting Started"},"catalogInfo":null,"link":"/docs/ai/document-ai/getting-started/","sidebarName":"developerPortal","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}