# Pre-requisites and permissions setup

### Pre-requisites and permissions setup

#### 1.Create a Client Secret (App Secret)

* Go to **Settings** in emSigner->**Manage APPS**->**Create App**->Provide an App name & generate secret key.

<figure><img src="/files/Wg3NzW92aHTbgJhP1Gn4" alt=""><figcaption></figcaption></figure>

* Go to **Manage Authtoken**->**AuthToken Generation**->Select App name created in step1 & generate authtoken.

<figure><img src="/files/fbPzseZyJNZZKtX0ZcxC" alt=""><figcaption></figcaption></figure>

#### **2.Set Up SharePoint Environment**

Create the required **site**, **document library**, and **source/destination folders** where documents will be uploaded and stored.

<figure><img src="/files/hQD2AQysnctZrAPBn47k" alt=""><figcaption></figcaption></figure>

#### **3.Prepare emSigner Template**

Ensure a fixed form template is available in your emSigner account with defined signature fields and workflow rules. If no fixed form template exists, you can create one from the Manage Templates section.

<figure><img src="/files/R0NSFfCOVL68D8ORld9A" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.emsigner.com/apps-and-integrations/platform-integrations/microsoft-sharepoint/pre-requisites-and-permissions-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
