---
title: "Get SignNow Editor URL"
url: "https://docs.signnow.com/docs/apex-editor-url"
type: "page"
section: "Integrations"
slug: "apex-editor-url"
---

# Get SignNow Editor URL

# Apex action: Get SignNow Editor URL

> Before configuring this Apex action, review the [prerequisites](/docs/salesforce-apex-actions#prerequisites) for SignNow Apex actions and complete the required setup steps.

The **Get SignNow Editor URL** action allows users to create a link for the embedded document group editing.
In this example flow, we will configure a Screen Flow that retrieves the link for editing the document group.

## Prerequisites

- Go to **Setup** > **Flows** > **New Flow.**
- Select **Screen Automations > Screen Flow**.

![get_dg_flow_type.png](/reference-assets/images/SignNow_Salesforce/apex_actions_2/get_dg_flow_type.png)

## Step 1. Add the SignNow action

- Click the **+** icon to add the **Get SignNow Editor URL** action to the flow.
- Add a label: **Get SignNow Editor URL**.
- Set input values:
    - **Redirect URL:** Enter the URL which will open after a user finishes editing the document group.
    - **SignNow Document Group ID:** Add the Document Group ID (enter a value manually or select a resource).
    - **Record ID (optional):** Add the Salesforce Record ID.
    - **SignNow Document Flow ID (optional):** If the Document Flow is added, the document group will open with pre-configured settings.

![get_editor_url_action_settings.png](/reference-assets/images/SignNow_Salesforce/apex_actions_2/get_editor_url_action_settings.png)

## Step 2. Add a screen element

Add a screen to display the generated link for the document group.

- Click the **+** icon below the SignNow action and select **Screen**.
- Add a label: `Display editor URL`.
- In the Components panel on the left, select **URL**.
- Add an API name: `Editor_URL`
- In the **Value** field, select `Outputs from Get_SignNow_Editor_URL` > `SignNow Editor URL`.

![get_editor_url_screen_settings.png](/reference-assets/images/SignNow_Salesforce/apex_actions_2/get_editor_url_screen_settings.png)

- Click **Done** to save screen settings.

## Step 3. Finalize the flow

- Click **Save**.
- **Activate** the flow.

## Step 4. Create a flow action and add it to the Opportunity layout

Finally, [create an action](/docs/add-action-page-layout) that will show the screen with the embedded editor URL. 

## Result
Users can now click the **Editor URL** button on any Opportunity to generate and view the link for editing the specific document group. The link can be embedded in an iframe using a Lightning Web Component (LWC) that wraps the standard HTML <iframe> tag.

---

View the full list of [SignNow Apex actions](/docs/salesforce-apex-actions).


---
*Full page: https://docs.signnow.com/docs/apex-editor-url*
