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

# Nosto

> Let the Dema Agent read products, segments, affinities, recommendations, and orders from Nosto when you ask.

## Overview

Once Nosto is connected, the Dema Agent can work with your Nosto data directly inside a conversation — browse your product catalog, look up individual products, list customer segments, pull account-level affinity insights (top brands, categories, and product types), fetch product recommendations such as best-sellers and related items, and look up individual orders.

All access is **read-only** — the agent never changes anything in your Nosto account. The agent only acts when you ask it to.

***

## Prerequisites

* A Nosto account with access to **Settings → Authentication Tokens** — you may need an admin on your account to open this page.

<Note>
  Nosto has several token types. Dema needs the **Apps** token from **Settings → Authentication Tokens**. A **public** token only covers a subset of the API and will not work for everything the agent does.
</Note>

***

## Connect Nosto

<Steps>
  <Step title="Copy the Apps token in Nosto">
    1. In Nosto, go to **Settings**.
    2. Open **Authentication Tokens**.
    3. Find the **Apps** token and copy it.
  </Step>

  <Step title="Connect in Dema">
    In Dema, go to **Agents → Settings → Integrations**, find **Nosto**, and click **Connect**. Enter:

    * **Nosto Apps API token** — the Apps token you copied from Nosto.

    Click **Add**. Dema marks the integration as Active.
  </Step>
</Steps>

A single Apps token covers everything the agent does — no other credentials or account identifiers are needed.

***

## Rotating the token

To rotate the token, regenerate the **Apps** token in Nosto under **Settings → Authentication Tokens**, then click **Reconnect** on the Nosto integration card in Dema and enter the new token.

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Dema cannot authenticate">
    Check that you copied the full **Apps** token from **Settings → Authentication Tokens**. Other token types — such as the **public** token — will not authenticate correctly here.
  </Accordion>

  <Accordion title="I cannot find the Authentication Tokens page">
    The **Settings → Authentication Tokens** page may be restricted on your account. Ask an admin on your Nosto account to copy the Apps token for you, or to grant you access.
  </Accordion>

  <Accordion title="The agent's Nosto requests are failing">
    Confirm the Apps token has not been regenerated or revoked in Nosto. If it has, copy the current token and click **Reconnect** in Dema.
  </Accordion>
</AccordionGroup>

If you are still stuck, contact [support](mailto:info@dema.ai) with the error message you see.

***

## Additional resources

* [Nosto authentication tokens](https://help.nosto.com/en/articles/613616-settings-authentication-tokens)
* [Nosto GraphQL API documentation](https://docs.nosto.com/techdocs/apis/graphql-an-introduction)
