# SharePoint credentials

The **SharePoint connector** requires specific credentials, which are entered in **Setup** → **Credentials**.&#x20;

Click the **New** button and fill in these fields:

1. **Name** and **Description**: assign a name and a description to the SharePoint credential you are adding. If needed, the name and description can be edited at a later stage.
2. **Credential Type**: select **Oauth2 Client Credential** and these fields will appear:
   1. **Client Id** \* and **Client secret** \*: they must be provided by the service provider.&#x20;
   2. **Token Endpoint** \*: it must be provided by the service provider.&#x20;
   3. **Scope** (not mandatory): it must be provided by the service provider.
3. Click the **Save** button to confirm.

This credential will be used to connect to the server with a SharePoint client connection. See the [Client Connection: SharePoint](/data-mover-1.21/transfer-protocols-and-connectors/client-connections/client-connection-sharepoint.md) page for details.&#x20;

On the **Setup** → **Credentials** page, existing credentials can be sorted in the **Filters** panel on the right of the page. Insert the Credential Name and/or select the Credential Type and click on the **APPLY** button to filter results.

<figure><img src="/files/4zgF1dlKkQdwdyvlFvhj" alt="" width="563"><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://docs.primeur.com/data-mover-1.21/transfer-protocols-and-connectors/client-connections/client-connection-sharepoint/sharepoint-credentials.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.
