> ## Documentation Index
> Fetch the complete documentation index at: https://converge-enter-documentation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Add and protect Cloud secrets

Save private credentials, such as API keys or access tokens, in Cloud **Secrets**. Don't paste them into [project chat](https://converge-enter-documentation.mintlify.site/en/articles/manage-queued-requests-and-project-chats.md) or frontend code. Enter connects your [server-side integration](https://converge-enter-documentation.mintlify.site/en/articles/inspect-cloud-functions-and-update-settings.md) to the saved secret by name.

## Know what belongs in Secrets

Use a secret for any private value your app needs to call another service, such as email, [payment](https://converge-enter-documentation.mintlify.site/en/articles/connect-stripe-for-app-payments.md), storage, or messaging. Every secret has two parts.

| Part | What it is | Safe to share with Enter? |
| - | - | - |
| **Name** | A label you choose, such as EMAIL\_SERVICE\_API\_KEY. | Yes |
| **Value** | The real credential. Enter it only in the secret form. | Never |

> [!CAUTION]
>
> **Never put the secret value in project chat, frontend files, browser requests, screenshots, or error messages shown to visitors.**

## Add a secret safely

**1. Open Secrets**

Open your project's [Cloud instance](https://converge-enter-documentation.mintlify.site/en/articles/create-and-manage-an-enter-cloud-instance.md) and choose **Secrets**.

**2. Add the secret**

Click **Add Secret**. Enter a clear name and paste the credential into the value field. Use **Add another** for more. Click **Save** and check that the name appears in the list.

![Enter a name and value here. The value shown is a placeholder.](https://mintcdn.com/converge-enter-documentation/Dl1DSbRP-YuWE4KM/images/enter-help/3.4/add-secret.png?fit=max\&auto=format\&n=Dl1DSbRP-YuWE4KM\&q=85\&s=65cd97e18fa034f83f11fd531113bfa9)

Enter a name and value here. The value shown is a placeholder.

**3. Tell Enter the name, not the value**

Name the saved secret and the feature that needs it.

```plaintext theme={null}
I saved the email provider credential as EMAIL_SERVICE_API_KEY. Use that secret for the server-side contact form integration. Do not expose it in the page or error messages.
```

> [!TIP]
>
> **Use a dedicated key.** Give it only the permissions it needs. Use separate keys for testing and live, so tests can't touch live data.

## Test the integration

* [ ] Run the app action that uses the outside service.

* [ ] Confirm the final result, such as a delivered email.

* [ ] Trigger a failure. The page should show a useful message with no private details.

## Troubleshooting

> [accordion] I saved the secret but the service isn't connected
>
> Saving a secret doesn't connect the service. The app needs a server-side integration that uses the saved name. Ask Enter to build it.

> [accordion] The integration fails
>
> Tell Enter the secret name, what you did, and the error shown. Never send the value.

## Common questions

> [accordion] Where should I enter a secret value?
>
> Enter the value only in the **Secrets** form for your [Cloud instance](https://converge-enter-documentation.mintlify.site/en/articles/create-and-manage-an-enter-cloud-instance.md). Share the secret name with Enter, but never paste the value into project chat, frontend code, browser requests, screenshots, or visible errors.

> [accordion] Should testing and live use the same key?
>
> Use separate keys for testing and live so tests cannot affect live data. Give each key only the permissions its [server-side integration](https://converge-enter-documentation.mintlify.site/en/articles/inspect-cloud-functions-and-update-settings.md) needs.

## Keep going

> [!NOTE]
>
> **Next:** [**Plan and test Cloud functions**](https://converge-enter-documentation.mintlify.site/en/articles/inspect-cloud-functions-and-update-settings.md)\
> Describe and test the flow that uses your secret.

> [card] [Connect Stripe for app payments](https://converge-enter-documentation.mintlify.site/en/articles/connect-stripe-for-app-payments.md)
>
> Connect Stripe for payments.

> [card] [Configure Google sign-in for your app](https://converge-enter-documentation.mintlify.site/en/articles/configure-google-sign-in-for-your-app.md)
>
> Another setup that uses a private key.


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