1. Getting Started
  2. Installation

Get started with Ampt!

Ampt lets developers write apps using their favorite tools, JavaScript frameworks, and npm packages, then automatically provisions, manages, and optimizes cloud resource by inferring requirements from the code.

Install & start the Ampt CLI
Navigate to an empty directory in your terminal and make sure you have Node.js v16+ and npm installed. Then run the following command to install and start Ampt.
npm i -g @ampt/cli ampt
Login to Ampt

The CLI will attempt to open a browser window to the Ampt dashboard. If your browser window doesn't open automatically, copy and paste the link provided in the CLI.

In the browser window, sign in or create a new Ampt account.

ampt ℹ︎ You must login to proceeed. ℹ︎ Your browser should open automatically. ℹ︎ If not, open the following login url: →︎ https://ampt.dev/activate?user_code=XXXX-XXXX ℹ︎ Your confirmation code is: XXXX-XXXX ⚠︎ This code will expire in 15 minutes.
Confirm your device
Once signed in, you'll be asked to confirm that the code in the CLI matches the code in the browser.
Device Confirmation
Please confirm this is the code displayed on your Ampt CLI:
If you did not initiate this action or you do not recognize this device select cancel.
Create a new app
Ampt lets you connect to existing apps or create new ones. Select "Create new app" from the menu.
ampt ? Do you want to create a new app or work on an existing one?›︎ Create new app Work on an existing app
Select a starter template
Ampt provides a set of preconfigured templates to quickly bootstrap your project.
ampt ℹ︎ You've selected Create new app. ℹ︎ Please choose an app template to generate in this directory.›︎ JavaScript API (Express) TypeScript API (Express) React starter app Astro Web Store NextJS Starter Template (v12) WebSockets starter template ...
Name your app
The app name will default to your directory name. You can rename it here.
ampt ℹ︎ You've selected JavaScript API (Express). ℹ︎ Please enter a name for your app. ›︎ my-cool-api ▊
Start coding!

Ampt generates the template code in your local directory, then spins up and connects to your isolated developer sandbox in the cloud.

Open your project directory in your favorite IDE and just start coding! Every time you save your work, your changes will be synced and deployed to your developer sandbox in less than a second.

Checkout the CLI documentation for more cool things you can do from the terminal. 🚀

ampt ℹ︎ You've entered my-cool-api. ✔︎ Successfully generated app my-cool-api in this directory.✔︎ Connected to your developer sandbox of my-cool-api app →︎ https://{your-unique-url}.ampt.appℹ︎ View your app in the dashboard →︎ https://ampt.dev/{your-dashboard-link} ›︎
Congratulations, now you're Ampt! 😉

Logs will be streamed directly into the interactive shell running in your terminal to give you immediate feedback. Plus, you can manage your parameters, view metrics, browse and update data, access blob storage, and much more using the Ampt Dashboard.

The fastest way to get things done in the cloud!