> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/integrations/builtin/credentials/lemonade.md).

# Set up Lemonade credentials in Duaer

Store Lemonade connection details in Duaer for digital-organization nodes to use at runtime. Secrets are protected by the instance encryption key and are not written into node parameters.
## Connect to a Lemonade server <a href="#set-up-the-credential" id="set-up-the-credential"></a>

The Duaer Lemonade credential is used by the Lemonade chat model, model, and embeddings nodes to reach a Lemonade server you run:

1. Put the server API address in Base URL; the default is http://localhost:8000/api/v1.
2. A default install needs no API Key; fill it in only if the server is configured with one.

When Duaer runs in Docker, do not use localhost for the host; use the service name or the host address.

## Lemonade fields in Duaer <a href="#lemonade" id="lemonade"></a>

In Duaer, choose Lemonade when you create a credential, then fill in these fields:

- Base URL (required): Default: http://localhost:8000/api/v1.
- API Key (secret): Optional API key for Lemonade server authentication. Not required for default Lemonade installation.

When you save, Duaer tests the connection with these values.

Duaer nodes that use it: [Embeddings Lemonade](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingslemonade.md), [Lemonade Chat Model](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatlemonade.md), [Lemonade Model](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmlemonade.md).

## Save the connection in Duaer

Open Credentials and create Lemonade. Fill in the key, OAuth, or server fields. After you save, digital-organization nodes reference this credential instead of putting the secret in a parameter.

Credential values are protected by the instance encryption key. If you change or lose that key, stored credentials cannot be decrypted. See the hosting notes on encryption keys. 

## Who can use this credential

Who can see or edit it follows projects and roles. Do not paste secrets into chat or variables. External vaults are covered under external secrets.
## Questions

### Do Lemonade secret values appear in Duaer node parameters?

No. In Duaer, Lemonade secrets stay in the credential. Nodes only reference the credential. Execution records should not show the plaintext secret either.

### What usually stops a Lemonade credential from saving in Duaer?

Wrong fields, an OAuth callback that does not match the instance URL, or a role that cannot create credentials. Check the fields Lemonade expects, then confirm you can create credentials in that project.

