Docs/Quickstart

Quickstart

Get your whole app live on Nexlayer: frontend, backend, database and workers, together. Pick where you're starting. Every path ends the same way: a live URL, checked and working.

Or hand this page to your agent

Paste this into your coding agent from your project folder. It does the rest.

Deploy this project to Nexlayer and give me the live URL.

- If you don't have the Nexlayer tools yet, run: npx @nexlayer/mcp-install
  It opens my browser so I can sign in. Then restart so the tools load.
- Ship the whole app: frontend, backend, database and workers together.
- If it isn't working, read the logs, fix the cause, and deploy again.
- Never ask me to paste a secret in the chat or write one in the repo:
  send me to the Nexlayer dashboard to add it.

Docs: https://nexlayer.com/docs/quickstart

With your coding agent

Give your agent Nexlayer's tools once. After that, deploying is a sentence.

  1. 1

    Connect Nexlayer to your agent

    Run this once, anywhere. It finds the agents on your machine, opens your browser to sign in, and sets each one up.

    bash
    npx @nexlayer/mcp-install

    Needs Node.js. Restart your agent afterward so it loads the tools. Setting one up by hand? Per-editor guides.

  2. 2

    Ask it to ship

    From your project folder, tell your agent:

    prompt
    Ship this app to Nexlayer.

    It works out what your app needs, writes a nexlayer.yaml, builds and deploys every part, then checks it's working.

  3. 3

    Open your live URL

    Your agent answers with the address of your app. Jump to You're live.

From the dashboard

No setup on your machine. Nexlayer reads your repo, plans it, builds it and deploys it.

  1. 1

    Start a new project

    Sign in at app.nexlayer.com, open Projects and click New project.

    The Projects page with the New project button
  2. 2

    Connect GitHub and pick your repo

    Click Connect GitHub under Import Git Repository, or paste the repo's URL. One sign-in lets Nexlayer list your repos.

    The New Project page with the repository URL field and Connect GitHub under Import Git Repository
  3. 3

    Deploy

    Nexlayer detects your stack, writes a nexlayer.yaml, builds and deploys the app, and shows you the live URL.

From your terminal

One command ships the whole app and proves it works. Agents that run commands, Codex included, can drive it too.

  1. 1

    Install the CLI

    bash
    curl -fsSL https://nexlayer.com/cli/install.sh | bash
  2. 2

    Sign in, once per machine

    bash
    nexlayer login
  3. 3

    Ship from your project folder

    bash
    cd my-app
    nexlayer ship

    Builds every part on Nexlayer (no Docker needed), deploys and verifies. Every command, flag and exit code is in the CLI reference.

You're live

Whichever path you took, success looks like this:

output
✓ Working — my-app
Live and working: 3 of 3 checks pass, 3 parts running.
https://<your-app>.cloud.nexlayer.ai
  • Your URL is ready to share. Nexlayer generates it. Every redeploy updates the same app in place.
  • nexlayer.yaml is in your repo. Commit it. It's how every later deploy knows what to run.
  • Want your own domain? Custom domains come with Pro. Set one up.

If it isn't working

Ask your agent Why isn't my app working?, or run nexlayer why. Both read every part's logs and name the one cause and the one fix. Keys your app needs are never asked for in the chat: Nexlayer sends you a link to add them.

What's in nexlayer.yaml

One file describes the whole app. Each part is a pod: one with a path is public at your URL, and pods reach each other at <name>.pod:<port>. Secrets are added in the dashboard, never written in the file.

nexlayer.yaml
application:
  name: my-app
  pods:
    - name: web
      image: my-org/my-app-web:v1.0.0
      path: /
      servicePorts: [3000]
      vars:
        API_URL: http://api.pod:8000

    - name: api
      image: my-org/my-app-api:v1.0.0
      path: /api
      servicePorts: [8000]

Every field: nexlayer.yaml reference.

Free to start. The Free plan runs 5 apps with a card on file that is never charged. Plans

Next