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

# Set up SAML single sign-on for Anecdotes

> Connect the Anecdotes compliance platform to Allthenticate over SAML 2.0, including the entity ID, ACS URL, attributes and single-line certificate format.

For Anecdotes' side of the setup, see the [Anecdotes SSO documentation](https://help.anecdotes.ai/technical-setup/identity-and-access/sso).

## Before you start

* Admin access to the Allthenticate admin portal.
* Workspace Owner access in Anecdotes.
* Users who will sign in have the Allthenticator app set up, and an Anecdotes account with the same email address.
* Choose an entity ID for Anecdotes, for example `https://anecdotes-allthenticate`. It doesn't need to be a real web address, but it must match exactly in both Allthenticate and Anecdotes.

## Configure in Allthenticate

**1. Add Anecdotes as a service provider**

In the admin portal, go to **SSO** > **SAML** and select **Add Service Provider**. Enter `Anecdotes` as the **Provider Name**.

**2. Enter the service provider details**

Uncheck **Use Metadata File**. Set **Entity ID** to the entity ID you chose, for example `https://anecdotes-allthenticate`. You fill in **ACS URL** in the next section. The [SAML setup guide](https://help.allthenticate.com/help/sso/saml.md#register-the-service-provider-in-allthenticate) shows the dialog with **Use Metadata File** unchecked.

The dialog has no name ID format field. Allthenticate uses the format Anecdotes requests and sends the email address format when none is requested.

**3. Add attributes**

Under **Custom Attribute Statements**, select **Add Attribute** for each row:

| Name | Value | Required |
| - | - | - |
| `saml_subject` | `user.email` | Yes |
| `firstName` | `user.firstName` | No, improves how users display in Anecdotes |
| `lastName` | `user.lastName` | No, improves how users display in Anecdotes |
| `groups` | `user.groups` | No, only if Anecdotes is set up to use role mappings |

## Configure in Anecdotes

**1. Get the Anecdotes ACS URL**

In Anecdotes, go to **Settings** > **Login methods** > **SAML 2.0 configuration** and select **+ Set new SAML**. Copy the **ACS URL** Anecdotes generates for your tenant.

**2. Finish the service provider in Allthenticate**

Back in the Allthenticate dialog, paste the value into **ACS URL** and select **Save**. Then select **Anecdotes** in the list. From the **Metadata** section, copy the **SSO Endpoint** and **Entity ID**, and select **Download Public Key**.

**3. Fill in the Anecdotes SAML form**

Back in the Anecdotes **SAML 2.0 configuration** form, enter:

| Anecdotes field | Value |
| - | - |
| **Identity Provider Name** | `Allthenticate` |
| **IdP Entity ID** | Allthenticate's **Entity ID**, for example `https://saml.allthenticate.com/saml/metadata/12` |
| **SP Entity ID** | The entity ID you chose, for example `https://anecdotes-allthenticate` |
| **SSO URL** | Allthenticate's **SSO Endpoint**, for example `https://saml.allthenticate.com/saml/sso/12` |
| **Signing Certificate** | The contents of `Allthenticate-Public.crt`, on a single line (see below) |

If your Anecdotes tenant offers metadata upload, you can upload the file from **Download Metadata** instead of typing these values.

**4. Format the certificate and save**

Anecdotes expects the certificate on one line: remove every line break, but keep the `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----` markers with exactly five hyphens on each side. For example:

```text theme={null}
-----BEGIN CERTIFICATE-----MIIDrDCCApSgAwIBAgIU...-----END CERTIFICATE-----
```

Save the configuration.

## Test sign-in

1. Open a private or incognito browser window. Existing sessions can hide configuration problems.
2. Go to your Anecdotes URL, for example `https://your-company.anecdotes.ai`, and select **Sign in with Allthenticate**.

   ![Anecdotes sign-in page with a Sign in with Allthenticate button above the email sign-in form](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/anecdotes/sign-in-with-allthenticate.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=0b2059138c1106d06ef1fd32bd890ba1)

   The Anecdotes sign-in page with SSO configured.
3. Anecdotes redirects you to Allthenticate. Approve the request on your phone. The first time, you scan a QR code with the Allthenticator app to trust the browser.
4. You land in Anecdotes, signed in.

## Troubleshooting

> [accordion] Anecdotes rejects the certificate
>
> Check that the certificate is on a single line with no line breaks, and that both markers have exactly five hyphens on each side.

> [accordion] Sign-in fails with an entity ID mismatch
>
> The **Entity ID** on the Allthenticate service provider and the **SP Entity ID** in Anecdotes must be identical, character for character.

For other problems, see [SAML troubleshooting](https://help.allthenticate.com/help/sso/saml.md#troubleshooting).

## Related

* [Set up Allthenticate as a SAML identity provider](https://help.allthenticate.com/help/sso/saml.md)
* [Single sign-on overview](https://help.allthenticate.com/help/sso/overview.md)
* [Anecdotes: SSO documentation](https://help.anecdotes.ai/technical-setup/identity-and-access/sso)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.