Quickstart
Welcome to Delphi Cloud! This guide will help you deploy your first application in under 5 minutes.
Prerequisites
Before you begin, make sure you have:
- A Delphi Cloud account (sign up for free)
- Node.js 18+ installed locally
- The Delphi Cloud CLI tool
Install the CLI
Run the following command to install the Delphi Cloud CLI:
npm install -g @delphi/cli
Pro Tip: You can also use our Docker image if you prefer containerized workflows.
Authenticate
delphi login
This will open a browser window where you can log in with your credentials.
Create your first project
delphi projects create my-first-app --region us-east-1
Deploy your application
const { DelphiClient } = require('@delphi/sdk');
const client = new DelphiClient({
apiKey: process.env.DELPHI_API_KEY
});
async function deploy() {
const deployment = await client.deploy({
project: 'my-first-app',
region: 'us-east-1',
source: './dist'
});
console.log(`Deployed at: ${deployment.url}`);
}
deploy();
Success! Your app is now live. Check the URL in the deployment response.
Next steps
Now that you've deployed your first app, explore:
Was this page helpful?