Quickstart
Deploy your first application to Nexlayer in under 5 minutes.
Prerequisites
- An AI coding tool that supports MCP (Claude Code, Cursor, etc.)
- A project you want to deploy (or use our example)
- Node installed for npx install
1. Install the Nexlayer MCP Server
Run this command to install and configure the Nexlayer MCP server for your coding tool:
bash
npx @nexlayer/mcp-installThis will automatically detect your AI coding tool and configure the MCP connection.
2. Ask Your AI to Deploy
In your AI coding assistant, simply ask it to deploy your project:
prompt
> Deploy this project to Nexlayer
Analyzing your project...
→ Detected: Next.js 15, TypeScript, Tailwind CSS
→ Creating nexlayer.yaml configuration
→ Building and deploying...
✓ Deployed successfully!
→ https://name-space-your-app.nexlayer.ai # Temporary URL3. That's It!
Your app is now live. The AI assistant will provide you with:
- A live URL where your app is running
- A
nexlayer.yamlfile in your project for future deployments - Access to logs, metrics, and deployment management via your AI assistant
Understanding nexlayer.yaml
Nexlayer creates a configuration file for your project. Here's what a typical one looks like:
yaml
# nexlayer.yaml
application:
name: my-app
pods:
- name: web
image: nexlayer.io/my-app:latest
port: 3000
resources:
memory: 512Mi
cpu: 0.5
env:
- name: NODE_ENV
value: production
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: db-credentials
key: urlLearn more about configuration in the Configuration Guide.