---
title: App settings
description: Use the app's Settings to change the port, secrets and access, or to pause or remove the app.
url: https://agentlab.cresclab.com/docs/en/deploy/app-settings
language: en
updated: 2026-10-06
---

# App settings

Use the app's Settings to change the port, secrets and access, or to pause or remove the app.

## Port

The platform picks a container app's port in this order and passes it to your program in the `PORT` environment variable:

1. The value in **Settings › Runtime settings › Port**, if set.
2. Otherwise, the one TCP port the image `EXPOSE`s.
3. Otherwise, `8080`.

## Secrets

Secrets are confidential values such as API keys and tokens. You enter them in the console, and your code reads them as environment variables. Each branch has its own secrets.

> [!WARNING] Enter secrets only in the console
> Don't put them in a file or a command, and don't paste them into a conversation with an AI tool.

## Apply settings

Saving runtime settings doesn't change what is running. The overview says the settings have changed; select **Restart service** to apply them. The old instances keep serving until the new ones are ready.

## Pause, remove and delete

| Action             | What happens                                                                                                                    | Can it be undone?                                                   |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| Pause app          | The app goes offline and visitors see a neutral page. Everything is kept, and no new version can be deployed while it's paused. | Yes. Select **Resume app**.                                         |
| Remove app         | The app goes offline now and a seven-day grace period starts.                                                                   | Restore it within seven days. After that, its versions are deleted. |
| Delete permanently | Every version and address is deleted now. You type the app's name to confirm.                                                   | No. The address is never given to anyone else.                      |
