> ## Documentation Index
> Fetch the complete documentation index at: https://docai.inclusioncloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring SAP Document AI in SAP BTP from Scratch

> Step-by-step guide to provision SAP Document AI in a new SAP BTP subaccount: subaccount creation, entitlements, user access configuration, and final setup.

This guide walks you through the complete process of setting up SAP Document AI in a brand-new SAP Business Technology Platform (SAP BTP) subaccount — from initial subaccount creation all the way through final configuration inside the Document AI system. Each step is documented in sequence, with supporting screenshots to help you follow along accurately.

This guide is intended for **SAP BTP administrators, solution architects, and technical consultants** who need to provision and configure SAP Document AI in a clean subaccount environment. Before you begin, ensure you have:

* Access to the **SAP BTP Cockpit** with global account administrator privileges
* Access to an **SAP Cloud Identity Services (IAS) tenant**

<Note>
  This guide covers configuration in a completely new SAP BTP subaccount. If you are working in an existing subaccount that already has some entitlements or instances configured, some steps may already be complete.
</Note>

## What You'll Learn

* How to create a new SAP BTP subaccount and configure identity provider trust settings
* How to assign the service entitlements, including SAP Document AI service plans and Cloud Foundry environment
* How to enable Cloud Foundry and create a service instance and application subscription for SAP Document AI
* How to configure admin access through SAP Cloud Identity Services (IAS) and assign Document AI role collections to users
* How to configure document retention, Instant Learning, and Data Feedback Collection settings within the SAP Document AI interface

***

## Chapter 1: Set Up Your SAP BTP Subaccount

This chapter walks you through setting up a brand-new SAP BTP subaccount for Document AI — from creation and trust configuration all the way to enabling Cloud Foundry and assigning the required service entitlements.

### Create a New Subaccount

<Note>
  In this guide, all subaccounts are created using **Inclusion Cloud Demo** as the example environment.
</Note>

<Steps>
  <Step title="Open Account Explorer">
    In the SAP BTP Cockpit, go to **Account Explorer** in the left navigation pane.
  </Step>

  <Step title="Fill in Subaccount Details">
    Click **Create** to open the "Create Subaccount" dialog, then fill in the following details:

    | Field        | Value                  |
    | ------------ | ---------------------- |
    | Display Name | `InclusionCloudDemo01` |
    | Region       | `US East (VA) - AWS`   |
    | Subdomain    | `inclusionclouddemo01` |
    | Parent       | `Your parent location` |

    Leave all other fields at their defaults.
  </Step>

  <Step title="Create the Subaccount">
    Click **Create** to finalize the subaccount.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Create_Subaccount_dialog_with_Display_Name__Inclus_e2f1168d92.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=9ab3fa8021a83688a7dde1d0412f75e4" alt="Create Subaccount dialog" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Create_Subaccount_dialog_with_Display_Name__Inclus_e2f1168d92.jpg" />
  </Step>

  <Step title="Confirm Subaccount Details">
    Once created, click on **InclusionCloudDemo01** in the Account Explorer list to open its overview page and confirm the following details:

    * **Subdomain:** inclusionclouddemo01
    * **Provider:** Amazon Web Services (AWS)
    * **Region:** US East (VA) - AWS
    * **Environment:** Multi-Environment

          <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Subaccount_Overview_page_for_InclusionCloudDemo01__7f9c27747a.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=f73543351409e1516d837dc3871cb943" alt="Sub-account overview page for InclusionCloudDemo01" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Subaccount_Overview_page_for_InclusionCloudDemo01__7f9c27747a.jpg" />
  </Step>
</Steps>

### Configure Trust for Identity Authentication

<Steps>
  <Step title="Open Trust Configuration">
    In the left navigation, go to **Security > Trust Configuration**.
  </Step>

  <Step title="Establish Trust">
    Review the current trust settings. If a **Custom Identity Provider for Applications** (business users) is not yet present, click **Establish Trust**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Trust_Configuration_page_showing_both_platform_and_09f0a8050e.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=a2a46e86682c9228ff38efa52a3fd4a0" alt="Trust Configuration page showing identity providers" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Trust_Configuration_page_showing_both_platform_and_09f0a8050e.jpg" />
  </Step>

  <Step title="Complete the Configure Tenant Wizard">
    In the **Configure Tenant** wizard, complete each step:

    * **Step 1 – Choose Tenant:** Select the appropriate SAP Cloud Identity tenant from the list (for example, `XYZ.accounts.ondemand.com`), then click **Next**.
    * **Steps 2–4 – Main information, parameters, and review:** Confirm the details on each screen, then click **Finish**.

          <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Configure_Tenant_wizard__Step_1__Choose_Tenant__wi_2a4d26e8a6.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=acf42280de72669be12ecb56859aaee7" alt="Configure Tenant wizard – Step 1: Choose Tenant" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Configure_Tenant_wizard__Step_1__Choose_Tenant__wi_2a4d26e8a6.jpg" />
  </Step>

  <Step title="Verify All Three Providers Are Active">
    When the wizard completes, verify that all three identity provider entries are listed as **Active** on the Trust Configuration page:

    * Default identity provider
    * Custom Identity Provider for Applications (business users)
    * Custom Identity Provider for Platform Users
  </Step>
</Steps>

### Assign Entitlements for Document AI

<Steps>
  <Step title="Open Entitlements">
    In the left navigation, go to **Entitlements**, then click **Edit**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Entitlements_page_for_InclusionCloudDemo01_with_Ed_cbb444c84e.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=68da356eb22f24df26f066387e235fee" alt="Entitlements page with Edit button highlighted" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Entitlements_page_for_InclusionCloudDemo01_with_Ed_cbb444c84e.jpg" />
  </Step>

  <Step title="Open the Service Plan Selection Dialog">
    Click **Add Service Plans** to open the service plan selection dialog.
  </Step>

  <Step title="Select the Document AI Premium Plan">
    In the **Services** search bar, type `document`. Select **SAP Document AI** from the results and review the available plans on the right: `blocks_of_100`, `default`, and `premium_edition`. Check the box for **`premium_edition`**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/The_SAP_BTP_Cockpit_showing_the_Add_Service_Plans__b7d954356d_NEW.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=b59cbaed183ef962d6f9b348ae1b61b1" alt="Add Service Plans dialog with &#x22;document&#x22; search results" width="1817" height="1056" data-path="sap-docai-configuration-from-scratch/images/The_SAP_BTP_Cockpit_showing_the_Add_Service_Plans__b7d954356d_NEW.jpg" />

    <Warning>
      If you see the message **"You have already assigned all the available quota for this service plan in your global account,"** you must either purchase additional quota or release quota from another subaccount before you can continue.

      <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/The_SAP_BTP_Cockpit_showing_SAP_Document_AI_select_cbcd26839c.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=daa61699fdff5bea06c6c7cb722ae460" alt="SAP Document AI selected with quota warning for premium_edition" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/The_SAP_BTP_Cockpit_showing_SAP_Document_AI_select_cbcd26839c.jpg" />
    </Warning>
  </Step>

  <Step title="Select the Correct Document AI Application Entry">
    Once quota is available, select the correct SAP Document AI entry based on your setup:

    * **If your customer has IAS configured:** Select the entry whose name ends in **`-ias`** (for example, `document-information-extraction-application-ias`) and choose the **premium\_edition** plan.
    * **If your customer does not have IAS configured:** Select the SAP Document AI entry **without** `-ias` at the end.

    In both cases, ensure the **default (Application)** plan is checked.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Add_Service_Plans_dialog_with_SAP_Document_AI__IAS_7463ed16d2.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=6192ac755cc53ade47f8f1d549ad81a3" alt="Add Service Plans dialog with SAP Document AI (IAS) and default plan selected" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Add_Service_Plans_dialog_with_SAP_Document_AI__IAS_7463ed16d2.jpg" />
  </Step>

  <Step title="Add the Cloud Foundry Environment Plan">
    In the same dialog, clear the search bar and type `cloud`. Select **Cloud Foundry Environment**, then choose the **build-runtime** plan on the right.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Add_Service_Plans_dialog_with_Cloud_Foundry_Enviro_d93e5d61af_NEW.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=1e743211a1ec14165665ecaa87ddfe75" alt="Add Service Plans dialog with Cloud Foundry Environment and build-runtime plan selected" width="1820" height="1055" data-path="sap-docai-configuration-from-scratch/images/Add_Service_Plans_dialog_with_Cloud_Foundry_Enviro_d93e5d61af_NEW.jpg" />
  </Step>

  <Step title="Add All Three Service Plans">
    Click **Add 3 Service Plans** to add all selected plans to your subaccount entitlements.
  </Step>

  <Step title="Save the Entitlement Changes">
    Click **Save** to apply the entitlement changes. The system displays a "Saving assignments" indicator while it processes.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Entitlements_overview_with__Saving_assignments__in_44a5b07843_NEW.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=95c3fb76779de55b58d8c63ba2c23235" alt="Entitlements overview with &#x22;Saving assignments&#x22; indicator" width="1820" height="1055" data-path="sap-docai-configuration-from-scratch/images/Entitlements_overview_with__Saving_assignments__in_44a5b07843_NEW.jpg" />
  </Step>
</Steps>

### Enable Cloud Foundry

<Steps>
  <Step title="Navigate to Subaccount Overview">
    Navigate to the **Overview** tab of your subaccount. Under "Cloud Foundry Environment," click **Enable Cloud Foundry**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Subaccount_Overview_screen_with__Enable_Cloud_Foun_3d9e009df9.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=8d9bbab35c2f9bc2f7589e03bf8ed9b0" alt="Sub-account Overview with &#x22;Enable Cloud Foundry&#x22; button" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Subaccount_Overview_screen_with__Enable_Cloud_Foun_3d9e009df9.jpg" />
  </Step>

  <Step title="Configure and Create the Cloud Foundry Environment">
    In the **Enable Cloud Foundry** dialog, fill in the following fields:

    | Field         | Value                           |
    | ------------- | ------------------------------- |
    | Plan          | `build-runtime`                 |
    | Landscape     | `Your current landscape`        |
    | Instance Name | `inclusionclouddemo01`          |
    | Org Name      | `PreSales_inclusionclouddemo01` |

    Click **Create** to activate Cloud Foundry for the subaccount.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Enable_Cloud_Foundry_dialog_with_build-runtime_env_b83e2ba9db_NEW.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=bf5e852aa59dfcf3d5dd17739620d378" alt="Enable Cloud Foundry dialog with build-runtime plan and org name filled in" width="1820" height="1055" data-path="sap-docai-configuration-from-scratch/images/Enable_Cloud_Foundry_dialog_with_build-runtime_env_b83e2ba9db_NEW.jpg" />
  </Step>
</Steps>

Your subaccount is now set up with the correct trust configuration, service entitlements, and an active Cloud Foundry environment. You're ready to move on to creating service and application instances.

***

## Chapter 2: Create Instances and Configure User Access

In this chapter, you'll create a service instance and an application subscription for SAP Document AI, set up user access through SAP Cloud Identity Services (IAS), assign the required role collections, and troubleshoot any permission errors you may encounter.

### Create the Service Instance and Subscription

<Steps>
  <Step title="Open Your Subaccount">
    Open SAP BTP Cockpit and navigate to your subaccount (for example, *InclusionCloudDemo01*). You'll land on the subaccount **Overview** page, where you can review details such as entitlements, provider, region, and Cloud Foundry environment status.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Subaccount_overview_showing_general_details_and_Cl_092e6d9940.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=e3883ec2b7b013f1017fc3459c477ab5" alt="Subaccount overview showing general details and Cloud Foundry environment" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Subaccount_overview_showing_general_details_and_Cl_092e6d9940.jpg" />
  </Step>

  <Step title="Go to Instances and Subscriptions">
    In the left navigation pane, go to **Services > Instances and Subscriptions**. The page will be empty at this point — that's expected.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_no_curren_f41641d6de.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=337f060e0d709c8a0acc32b74af79574" alt="Instances and Subscriptions page with no entries" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_no_curren_f41641d6de.jpg" />
  </Step>

  <Step title="Open the Create Dialog">
    Click **Create** in the top-right corner to open the "New Instance or Subscription" dialog.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_with_the_Create_b_47c47571b9.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=e4ff0c3ac3408a7c4bac48febe7fc2a8" alt="Instances and Subscriptions page with Create button highlighted" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_with_the_Create_b_47c47571b9.jpg" />
  </Step>

  <Step title="Select SAP Document AI as the Service">
    In the dialog, select **SAP Document AI** as the service. If the system prompts you that no Cloud Foundry spaces exist, you'll need to create one before continuing.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/New_Instance_or_Subscription_dialog_with_SAP_Docum_a41800a89a.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=50714cbfff2690a282e5532fdbf5c045" alt="New Instance or Subscription dialog with SAP Document AI selected" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/New_Instance_or_Subscription_dialog_with_SAP_Docum_a41800a89a.jpg" />
  </Step>

  <Step title="Select the premium_edition Plan">
    For **Plan**, select **premium\_edition** under the "Instances" section.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Plan_selection_dropdown_showing_premium_edition_an_0302ed2b99.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=8c8d043141df65f7ae47a364f13abfc6" alt="Plan selection dropdown showing premium_edition" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Plan_selection_dropdown_showing_premium_edition_an_0302ed2b99.jpg" />
  </Step>

  <Step title="Create a Cloud Foundry Space (if needed)">
    If no Cloud Foundry space exists, click the **Create a space** link in the dialog. Enter a name for your space (for example, *Dev*) and confirm.

    <Note>
      This step is only necessary if you do not already have a space available.
    </Note>
  </Step>

  <Step title="Complete and Submit the Instance Creation">
    Complete the remaining fields in the dialog:

    | Field               | Value                                     |
    | ------------------- | ----------------------------------------- |
    | Service             | SAP Document AI                           |
    | Plan                | premium\_edition                          |
    | Runtime Environment | Cloud Foundry                             |
    | Space               | Dev (or your chosen name)                 |
    | Instance Name       | A CLI-friendly name, e.g. *docai-premium* |

    Click **Create** to submit.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Dialog_filled_with_SAP_Document_AI__premium_editio_619e02df4e.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=070bb4946b23a782425bdcc5d7939656" alt="Dialog filled with instance configuration details" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Dialog_filled_with_SAP_Document_AI__premium_editio_619e02df4e.jpg" />
  </Step>

  <Step title="Confirm the Instance Is Being Created">
    Your new instance will appear in the **Instances** list with the status **Creation in Progress**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_the_new_i_262f540a5d.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=d6f514ec112af73f8345f8ec8eb84c4b" alt="Instances list showing new instance with Creation in Progress status" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_the_new_i_262f540a5d.jpg" />
  </Step>

  <Step title="Create the Application Subscription">
    Click **Create** again. In the dialog, select **SAP Document AI** as the service, then choose **default** under the "Subscriptions" section for the plan.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Plan_selection_dropdown_showing_default_option_for_835f7c8110.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=c8f3fff01f8c6699e2bbfc4c64bc3127" alt="Plan selection showing default option for subscriptions" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Plan_selection_dropdown_showing_default_option_for_835f7c8110.jpg" />
  </Step>

  <Step title="Submit the Subscription">
    Click **Create** to subscribe.
  </Step>

  <Step title="Verify Both Entries Are Processing">
    Both entries now appear on the **Instances and Subscriptions** page:

    * **Subscriptions:** SAP Document AI | Plan: default | Status: Processing
    * **Instances:** SAP Document AI | Plan: premium\_edition | Status: Creation in Progress

          <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_both_the__57fd842898.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=7828c73c389c79d3d20229eed6401b8c" alt="Both subscription and instance shown in processing states" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_both_the__57fd842898.jpg" />

    <Warning>
      Do not proceed to the next sections until both the service instance and the application subscription have finished processing and show as active. This can take **up to 30 minutes**.

      <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_with_both_subscri_74afd36e42.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=49e64aeafd0a11b0dbf18a361f48b0a7" alt="Instances and Subscriptions page with both entries still processing" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_with_both_subscri_74afd36e42.jpg" />
    </Warning>
  </Step>
</Steps>

### Configure Admin Access in SAP Cloud Identity Services

While you wait for provisioning to complete, you can configure admin access for SAP Document AI through the SAP Cloud Identity Services (IAS) Administration Console.

<Steps>
  <Step title="Wait for the Subscription to Become Active">
    Monitor the **Instances and Subscriptions** page until the SAP Document AI subscription status changes from **Processing** to **Subscribed**. The service instance may still show **Creation in Progress** at this point.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_showing_SAP_Document_AI_subscripti_74b969ef2b.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=2baf0558cf6cccd1b3a9b868a3394448" alt="SAP Document AI subscription showing Subscribed status" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_showing_SAP_Document_AI_subscripti_74b969ef2b.jpg" />
  </Step>

  <Step title="Open the IAS Administration Console">
    Open a new browser tab and navigate to your IAS Administration Console URL (for example, `XYZ.accounts.ondemand.com/admin/`). You'll see the **Administration Console Log On** screen.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Browser_tab_open_to_SAP_Cloud_Identity_Services_Ad_622f8ab4b1.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=8fc2e327f59ac1b49b898e0e343a47dd" alt="IAS Administration Console Log On screen" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Browser_tab_open_to_SAP_Cloud_Identity_Services_Ad_622f8ab4b1.jpg" />
  </Step>

  <Step title="Log In to IAS">
    Enter your email or user name and password, then click **Log On**.
  </Step>

  <Step title="Open the Groups Section">
    Once logged in, go to **Users & Authorizations > Groups** in the top menu to view all available groups.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Cloud_Identity_Services_dashboard_with_Users___Aut_d717849bd9.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=541044983c6d1814db8fea042c6367b7" alt="Cloud Identity Services dashboard with Groups selected" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Cloud_Identity_Services_dashboard_with_Users___Aut_d717849bd9.jpg" />
  </Step>

  <Step title="Open the DocumentAI - Admin Group">
    In the groups list, find the group named **DocumentAI - Admin** associated with your application. Click on it to open the group details.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Groups_list_with_DocumentAI_-_Admin_group_selected_8122e9e022.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=3ec2286bd1ce2d542ba87815e1e55422" alt="Groups list with DocumentAI - Admin group selected" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Groups_list_with_DocumentAI_-_Admin_group_selected_8122e9e022.jpg" />
  </Step>

  <Step title="Add Your User to the Admin Group">
    In the Users section of the group, click **Add**. Search for your user, select them, and click **Add** to grant admin rights to SAP Document AI.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Add_Users_dialog_open__user_select_fed03681c7.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=c3253b753038547f6f333392fd19c8d3" alt="Add Users dialog with user selected for DocumentAI - Admin group" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Add_Users_dialog_open__user_select_fed03681c7.jpg" />
  </Step>

  <Step title="Return to BTP Cockpit">
    Return to the SAP BTP Cockpit to check the status of your instance and subscription.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_showing_updated_subscription_and_i_cd096aca2c.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=14126bf98ba982044ad7283dc66aca7b" alt="SAP BTP Cockpit showing updated subscription and instance status" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_showing_updated_subscription_and_i_cd096aca2c.jpg" />
  </Step>
</Steps>

### Add Users and Assign Role Collections

With admin access configured in IAS, add your user to the SAP BTP subaccount and assign the Document AI role collections.

<Steps>
  <Step title="Go to Security > Users">
    In SAP BTP Cockpit, go to **Security > Users** in the left navigation menu.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=563e00d9d0b4bcc096b2e87f8f583c0d" alt="Security > Users selected in left menu" data-og-width="1268" width="1268" data-og-height="748" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg?w=280&fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=3b99fa229d556cb03d11be6255f4e83f 280w, https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg?w=560&fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=4b771f6c9343e45c4eb64a7b3be984fd 560w, https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg?w=840&fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=503ae72cfa708056cc18ec9a872ecec8 840w, https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg?w=1100&fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=a00f29a010545bb62637af70255c4f8f 1100w, https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg?w=1650&fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=5cec63d07758dcffc023f331613a4939 1650w, https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_with_Security___Users_selected_in__c143e056fa.jpg?w=2500&fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=7a47318c6edff09427dbaf293a1580b4 2500w" />
  </Step>

  <Step title="Create the User">
    Click **Create**. In the "Create User" dialog, enter the following and then click **Create**:

    | Field             | Value                                   |
    | ----------------- | --------------------------------------- |
    | User Name         | Your user's email address               |
    | Identity Provider | Your IAS tenant URL **(business user)** |
    | E-Mail            | Your user's email address               |

    <Warning>
      Ensure you are creating this as a **Business User** rather than a platform user. Only business users will have access to the live SAP Document AI application.
    </Warning>

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Create_User_dialog_open__User_Name_partially_fille_77039613af_CORRECTED.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=286676f3b8952bff95ca16a162241793" alt="Create User dialog with user details entered" width="1820" height="1055" data-path="sap-docai-configuration-from-scratch/images/Create_User_dialog_open__User_Name_partially_fille_77039613af_CORRECTED.jpg" />
  </Step>

  <Step title="Open Assign Role Collection">
    Locate the newly created user in the list and click on them to open their details panel on the right side of the screen. Locate **Role Collections**, then click **Assign Role Collection** under the **three dots menu**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/User_details_with_Add_Role_Collection_menu_open__r_51f479a37a.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=a4d06e1f570613265ae8f0721d502a2c" alt="User details with Add Role Collection menu open" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/User_details_with_Add_Role_Collection_menu_open__r_51f479a37a.jpg" />
  </Step>

  <Step title="Assign the Three Document AI Role Collections">
    Select the following three role collections:

    * `Document_Information_Extraction_UI_Document_Viewer`
    * `Document_Information_Extraction_UI_End_User`
    * `Document_Information_Extraction_UI_Templates_Admin`

    Click **Assign Role Collection** to apply.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Assign_Role_Collection_dialog_open__three_role_col_d1f42bdd9a.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=940a11bf01aff3d1d631b29417d3ada8" alt="Assign Role Collection dialog with three Document AI roles selected" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Assign_Role_Collection_dialog_open__three_role_col_d1f42bdd9a.jpg" />
  </Step>

  <Step title="Repeat for Additional Users">
    If you have multiple users (for example, one using IAS and one using the default identity provider), repeat the role assignment for each user.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/User_list_showing_two_users__one_with_platform_use_29eaa5e17f_NEW.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=82e852090a58b98fbf115a9ba9d28820" alt="User list showing two users with different identity providers" width="1820" height="1055" data-path="sap-docai-configuration-from-scratch/images/User_list_showing_two_users__one_with_platform_use_29eaa5e17f_NEW.jpg" />
  </Step>

  <Step title="Verify Instance and Subscription Status">
    Go to **Services > Instances and Subscriptions** and verify the current status:

    * **Subscriptions:** SAP Document AI | Plan: default | Status: **Subscribed**
    * **Instances:** SAP Document AI | Plan: premium\_edition | Runtime: Cloud Foundry | Scope: Dev | Status: **Creation in Progress**

          <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_SAP_Docum_ee2e285edc.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=abba773aece2b655194d430e5156e32f" alt="Instances and Subscriptions showing Subscribed and Creation in Progress statuses" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Instances_and_Subscriptions_page_showing_SAP_Docum_ee2e285edc.jpg" />

    <Warning>
      Do not attempt to open the SAP Document AI application until the service instance status shows **Created**. Accessing it too early will result in errors.
    </Warning>
  </Step>
</Steps>

### Troubleshoot "Permission Denied" Errors

Even after assigning role collections, you may encounter a "Permission Denied" error when first opening the SAP Document AI workspace. Follow these steps to resolve it.

<Steps>
  <Step title="Confirm Both Statuses Are Ready">
    Once the instance status shows **Created**, confirm the subscription is also **Subscribed** on the **Instances and Subscriptions** page.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_showing_Instances_and_Subscription_ad94503ef1.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=62914b8c6b2781c7fc3f7e0a0141621a" alt="Instances and Subscriptions showing SAP Document AI subscribed and instance created" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_showing_Instances_and_Subscription_ad94503ef1.jpg" />
  </Step>

  <Step title="Open the SAP Document AI Workspace">
    Open the SAP Document AI workspace URL. If the screen loads blank or you see a **Permission Denied** dialog, don't worry — this is a common issue related to identity provider mismatches.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Permission_Denied_dialog_for_SAP_Document_AI_works_bc559e1e5d.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=5a73ffae955f3c372264a50b5da2450c" alt="Permission Denied dialog with Logout button" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Permission_Denied_dialog_for_SAP_Document_AI_works_bc559e1e5d.jpg" />
  </Step>

  <Step title="Re-authenticate in BTP Cockpit">
    Return to the SAP BTP Cockpit tab and re-authenticate if needed. When prompted, sign in using the correct identity provider credentials.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_Sign_In_screen_with_password_entered_and_Googl_8f1a52067c.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=ec7d1b87d4a4b5b35f2c950f6ba2ee33" alt="SAP Sign In screen with password entered" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_Sign_In_screen_with_password_entered_and_Googl_8f1a52067c.jpg" />
  </Step>

  <Step title="Check the User's Identity Provider">
    If the Permission Denied error persists after signing in, navigate to **Security > Users** in SAP BTP Cockpit and check which identity provider is listed for your user.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Users_list_in_SAP_BTP_Cockpit_showing_multiple_ide_d26b6aa823.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=e5703f6e46ea9e845b49641c2999e8e0" alt="Users list showing multiple identity providers for the same user" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Users_list_in_SAP_BTP_Cockpit_showing_multiple_ide_d26b6aa823.jpg" />
  </Step>

  <Step title="Delete the Incorrect User Entry">
    If the user is associated with the wrong identity provider, delete that user entry and confirm the deletion.
  </Step>

  <Step title="Reassign Role Collections to the Correct User">
    Select the correct user under the **business users** identity provider. Open their details pane, click **Add Role Collection**, and assign the required Document AI role collections.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/User_details_with_Add_Role_Collection_menu_open__r_51f479a37a.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=a4d06e1f570613265ae8f0721d502a2c" alt="User details with Add Role Collection menu open" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/User_details_with_Add_Role_Collection_menu_open__r_51f479a37a.jpg" />
  </Step>

  <Step title="Verify the Role Collections Are Assigned">
    Verify that the following role collections now appear under the business user's profile:

    * `Document_Information_Extraction_UI_Document_Viewer`
    * `Document_Information_Extraction_UI_End_User`
    * `Document_Information_Extraction_UI_Templates_Admin`

          <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/User_details_showing_assigned_Document_AI_role_col_21d998d0a5.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=6eaa730287e66f1373f6143ea748c876" alt="User details showing assigned Document AI role collections" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/User_details_showing_assigned_Document_AI_role_col_21d998d0a5.jpg" />
  </Step>

  <Step title="Confirm the Correct Identity Provider">
    Confirm that the user with the assigned role collections is using the **business users** identity provider, not the default identity provider.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Users_list_showing_correct_business_user_and_defau_6a2a991971.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=a76573f8f9cc436af613255b13b910d3" alt="Users list showing business user and default identity provider for comparison" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Users_list_showing_correct_business_user_and_defau_6a2a991971.jpg" />
  </Step>
</Steps>

<Note>
  A "Permission Denied" error after login almost always means the role collections are assigned to a user under the wrong identity provider. Deleting the incorrect user entry and reassigning roles under the **business users** provider resolves this.
</Note>

You're now ready to access and use the SAP Document AI application.

***

## Chapter 3: Finalize Your Document AI Configuration

With the core setup complete, this chapter walks you through the final configuration steps inside the SAP Document AI interface — including document retention, Instant Learning, and Data Feedback settings — and shows you how to review user access in the SAP BTP Cockpit.

### Log In and Navigate the Interface

<Steps>
  <Step title="Access SAP Document AI">
    From your BTP Cockpit subaccount applications and subscriptions, access the **SAP Document AI** application.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Browser_password_save_prompt_for_SAP_Document_AI_l_02ad0ab973_NEW.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=083c78e0a03efb5314003a3c54d49a7c" alt="Browser password save prompt for SAP Document AI login" width="1820" height="1055" data-path="sap-docai-configuration-from-scratch/images/Browser_password_save_prompt_for_SAP_Document_AI_l_02ad0ab973_NEW.jpg" />
  </Step>

  <Step title="Switch to the New UI">
    Once logged in, navigate to the SAP Document AI interface. You may initially land on the old UI, which displays a simple document list with limited options. To access the full feature set, click **Workspace** to switch to the new UI.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_Document_AI_old_UI_with_empty_document_list__s_f93833a7b2.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=b49bc5a8e8f16a18b454f5203241c6e1" alt="Old Document AI UI showing an empty document list" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_Document_AI_old_UI_with_empty_document_list__s_f93833a7b2.jpg" />
  </Step>

  <Step title="Explore the New UI">
    The new UI presents a more modern interface with a sidebar on the left and a blank workspace area. Sidebar options include **All Documents**, **Schemas**, **Channels**, **Workflows**, and **Transports**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_Document_AI_new_UI_with_expanded_sidebar_and_b_089d5d2ade.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=cb1f2102c1904782d4ed038205cb96a3" alt="New Document AI UI with expanded sidebar and blank workspace" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_Document_AI_new_UI_with_expanded_sidebar_and_b_089d5d2ade.jpg" />
  </Step>
</Steps>

### Open the Configuration Screen

<Steps>
  <Step title="Browse Documents">
    In the sidebar, click **All Documents** to explore document management features. You can use the search and filter options at the top to locate specific documents. If no documents are found, the system will prompt you to adjust your search or filter criteria.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_Document_AI_admin_UI_with_document_search__fil_d898e15f7c.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=4316db32a4434c7bf9367a83dbb1aa86" alt="Document AI admin UI with search, filters, and sidebar navigation" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_Document_AI_admin_UI_with_document_search__fil_d898e15f7c.jpg" />
  </Step>

  <Step title="Open Manage Configuration">
    At the bottom left of the sidebar, click **Settings** and then select **Manage Configuration** to open the configuration screen.
  </Step>
</Steps>

### Configure Document Retention, Learning, and Feedback

<Steps>
  <Step title="Set Document Retention Time">
    Under **Document Retention Time**, enter the number of days you want documents to be retained (between 1 and 10,000).

    <Note>
      For a new environment, a retention period of **365 days** is recommended as a starting point.
    </Note>
  </Step>

  <Step title="Activate Instant Learning">
    Under **Learning**, find the **Instant Learning** dropdown and select **Active**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Dropdown_for_Instant_Learning_set_to_Active_in_SAP_122628188b.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=f202ba8b4d03c198e073fde4bf86021e" alt="Instant Learning dropdown set to Active" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Dropdown_for_Instant_Learning_set_to_Active_in_SAP_122628188b.jpg" />

    <Warning>
      Activating Instant Learning allows edited extraction results to improve information extraction using generative AI. If you later deactivate this setting, **all learning data is deleted immediately and permanently** — this action cannot be undone.
    </Warning>
  </Step>

  <Step title="Activate Data Feedback Collection">
    Under **Feedback**, find the **Data Feedback Collection** dropdown and select **Active**.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/Dropdown_for_Data_Feedback_Collection_set_to_Activ_49c6757e07.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=52f1350950b750cc1ee84c28c17658fe" alt="Data Feedback Collection dropdown set to Active" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/Dropdown_for_Data_Feedback_Collection_set_to_Activ_49c6757e07.jpg" />

    <Warning>
      Activating Data Feedback Collection allows SAP to use your document data for retraining machine learning models. If you later deactivate this setting, **all documents already uploaded for retraining are permanently deleted** — this action cannot be undone.
    </Warning>

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_Document_AI_configuration_screen_with_retentio_a04e41debf.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=f3deca0b6ede1ffa71cda4011be52ea2" alt="Configuration screen with retention, instant learning, and feedback settings" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_Document_AI_configuration_screen_with_retentio_a04e41debf.jpg" />
  </Step>
</Steps>

### Save and Confirm Your Settings

<Steps>
  <Step title="Save the Configuration">
    Click the **Save** button at the bottom right of the configuration screen. Wait for the **Configurations Saved** confirmation message to appear before navigating away.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_Document_AI_configuration_screen_showing_both__820364e754.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=b145a05d12b5dd8f8c97be1a53bafc34" alt="Configuration screen showing Instant Learning and Data Feedback both set to Active, with Configurations Saved message" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_Document_AI_configuration_screen_showing_both__820364e754.jpg" />
  </Step>

  <Step title="Review Saved Settings">
    Review your saved settings to confirm everything is configured as intended. You can also browse the **Schemas** section in the sidebar to review the schemas provided by SAP.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_Document_AI_configuration_screen_with_Learning_39fb24668a.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=6f8b154ca0c6c94facd388493bd59881" alt="Configuration screen with Learning and Feedback tabs, both set to Active" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_Document_AI_configuration_screen_with_Learning_39fb24668a.jpg" />
  </Step>
</Steps>

### Review User Access in SAP BTP Cockpit

<Steps>
  <Step title="Go to Security > Users">
    Navigate to the SAP BTP Cockpit and open your subaccount. Go to **Security > Users** to review who has access to your environment.
  </Step>

  <Step title="Verify User Details">
    Verify the details shown for each user, including User Name, Identity Provider, Last Name, First Name, E-Mail, Last Updated, and Last Logon. Confirm that only authorized users appear in the list.

    <img src="https://mintcdn.com/inclusioncloud/SNSLqWeJD4WlPfoj/sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_Users_screen_showing_user_list__id_e634028496.jpg?fit=max&auto=format&n=SNSLqWeJD4WlPfoj&q=85&s=418659b6bafcf08bc46b2fac85a2a2f9" alt="SAP BTP Cockpit Users screen showing user list and details" width="1268" height="748" data-path="sap-docai-configuration-from-scratch/images/SAP_BTP_Cockpit_Users_screen_showing_user_list__id_e634028496.jpg" />
  </Step>
</Steps>

Your SAP Document AI environment is now fully configured and ready for use. 🎉

***

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="What SAP Document AI service plans are available, and which one should I choose?">
    Three plans are available: `blocks_of_100`, `default`, and `premium_edition`.

    * For the **service instance**, select **premium\_edition**.
    * For the **application subscription**, select **default**.

    Both are required for a complete setup.
  </Accordion>

  <Accordion title="What should I do if I see a quota warning when adding entitlements?">
    The message "You have already assigned all the available quota for this service plan in your global account" means your global account has no remaining quota for that service plan. You must either purchase additional quota or release quota from another subaccount before you can proceed with adding the entitlement.
  </Accordion>

  <Accordion title="Do I need to select a different SAP Document AI entitlement entry depending on my identity setup?">
    Yes. The correct entry depends on whether your customer has IAS configured:

    * **IAS configured:** Select the entry whose name ends in `-ias` (for example, `document-information-extraction-application-ias`) and choose the **premium\_edition** plan.
    * **IAS not configured:** Select the entry **without** the `-ias` suffix.
  </Accordion>

  <Accordion title="How long does provisioning take, and can I proceed before it finishes?">
    Provisioning can take **up to 30 minutes**. You must wait until both the service instance shows **Created** and the subscription shows **Subscribed** before attempting to access the SAP Document AI application. Accessing the application too early will result in errors.
  </Accordion>

  <Accordion title="Why am I getting a 'Permission Denied' error after logging in?">
    This almost always means the role collections are assigned to a user under the wrong identity provider. Check the user's identity provider in **Security > Users** in the SAP BTP Cockpit. If the user is listed under the wrong provider, delete that user entry and reassign the required role collections to the user under the **business users** identity provider.
  </Accordion>

  <Accordion title="What are the three role collections required for SAP Document AI access?">
    The following three role collections must be assigned to each user who needs access:

    * `Document_Information_Extraction_UI_Document_Viewer`
    * `Document_Information_Extraction_UI_End_User`
    * `Document_Information_Extraction_UI_Templates_Admin`
  </Accordion>

  <Accordion title="What happens if I deactivate Instant Learning or Data Feedback Collection after enabling them?">
    Both actions are **irreversible**, so exercise caution:

    * Deactivating **Instant Learning** deletes all learning data immediately and permanently.
    * Deactivating **Data Feedback Collection** deletes all documents already uploaded for retraining.
  </Accordion>

  <Accordion title="Are there storage cost implications for the Document Retention Time setting?">
    Yes. The default value is "null," which retains documents indefinitely. Retaining documents for more than 30 days may incur storage charges. Set a specific retention period (between 1 and 10,000 days) based on your organization's requirements and cost considerations.
  </Accordion>
</AccordionGroup>
