Apps create

Open in

Use the ably apps create command to create a new Ably application in your account.

Synopsis

ably apps create <app-name> [options]

Arguments

app-name
Required

The name of the application to create.

Options

--tls-only

Restrict the application to TLS connections only. When enabled, all connections to this app must use TLS encryption.

--json

Output results as compact JSON. Mutually exclusive with --pretty-json.

--pretty-json

Output results in formatted JSON. Mutually exclusive with --json.

--verbose | -v

Enable verbose logging. Can be combined with --json or --pretty-json.

Examples

Create a new application:

ably apps create "My New App"

Create an application restricted to TLS connections only:

ably apps create "My New App" --tls-only

Create an application and output the result in JSON format:

ably apps create "My New App" --json

Create an application using an access token environment variable:

ABLY_ACCESS_TOKEN="YOUR_ACCESS_TOKEN" ably apps create "My New App"

See also

  • Apps — Explore all ably apps commands.
  • CLI reference — Full list of available commands.