This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/salesforce-documents/admin-guide/set-up-document-generation-in-salesforce.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Set up document generation in Salesforce

Use this guide to configure document generation in Nutrient Documents for Salesforce.

Who should use this guide

This guide is for Salesforce administrators who need to enable document generation for users.

Prerequisites

Before you begin, confirm that:

  • The one-time product setup is complete
  • Salesforce users who perform setup have administrator access
  • At least one document template will be available for the record types you want to support

If your organization still needs the app-level setup, refer to the set up Nutrient Documents for Salesforce guide.

Add the document creation widget to record pages

Add the appropriate Nutrient document creation widget to each Salesforce record page where users should create documents. The widget name depends on user permissions:

  • Create and Send Document with Nutrient — For users who can create documents and send them for signing
  • Create Document with Nutrient — For users who can create documents but don’t have signing access
  • If a user has signing access but not document creation access, Salesforce shows an insufficient-permissions message

Before you begin, confirm that your Salesforce user has these permissions:

  • Customize Application
  • View Setup and Configuration
  • Object Access with at least Read access for the target object

Then open a Salesforce record page and add the widget there. The Edit Page option appears only when you’re viewing an individual record page, not a list view.

  1. Open a Salesforce record, such as an Opportunity, Account, or Contact.

  2. Click the gear icon and select Edit Page.

  3. In Lightning App Builder, find the widget that matches the user’s permissions:

    • Create and Send Document with Nutrient
    • Create Document with Nutrient
  4. Drag the component to the area where you want it to appear.

  5. Optional: Add component visibility rules if only certain users or conditions should show the widget.

  6. Click Save, and then click Activate.

  7. Choose the activation model that fits your rollout:

    • Org Default
    • App Default
    • App, Record Type, and Profile
  8. Open a record and confirm that the widget loads correctly.

You can also open a record, click the gear icon, and select Edit Page to open Lightning App Builder for that page.

Assign user permissions

Assign the required Nutrient permissions before users create documents or manage templates.

Before you begin, confirm that your Salesforce user has these permissions:

  • Modify All Data
  • Privacy Center

Assign permissions to an individual user

Follow these steps to assign permissions to one user.

  1. In Setup, search for Users and open Users.

  2. Open the target user.

  3. In Permission Set Assignments, click Edit Assignments.

  4. Assign the required Nutrient permissions:

    • Nutrient Manage Templates — For users who build and manage templates
    • Nutrient Create Documents — For users who generate documents from templates
  5. Click Save.

Assign permissions in bulk

Use permission sets when you need to assign the same access to multiple users.

  1. In Setup, search for Permission Sets.
  2. Open the Nutrient permission set that you want to assign.
  3. Click Manage Assignments.
  4. In Current Assignments, click Add Assignment.
  5. Select the users.
  6. Click Next.
  7. Optional: Set an expiration date.
  8. Click Assign.

Validate the setup

After you finish the setup, verify that document generation works as expected.

Confirm that:

  • The document creation widget appears on the intended record pages
  • At least one test user can select a template and click Create
  • Template managers can access the template tools they need
  • Documents no longer show an evaluation watermark when you configure a valid license

Refer to the following guides for related tasks: