Skip to content
WP Engine Developer Docs Example

Getting Started with Atlas

This guide will help you build your first headless WordPress application with Atlas.

Before you begin, make sure you have:

  • Node.js 18.x or higher
  • A WP Engine account with Atlas enabled
  • Basic knowledge of JavaScript and React
  • Git installed on your system
Terminal window
npx create-atlas-app my-first-atlas-app
cd my-first-atlas-app
Terminal window
atlas connect --url=https://your-site.wpengine.com
Terminal window
npm run dev

Your Atlas application will be available at http://localhost:3000.

my-first-atlas-app/
├── src/
│ ├── pages/
│ ├── components/
│ └── lib/
├── public/
├── atlas.config.js
└── package.json

If you’re unable to connect to WordPress, verify:

  • Your WordPress URL is correct
  • Atlas plugin is installed and activated
  • Your API credentials are valid

Check that all dependencies are installed:

Terminal window
npm install

Need assistance? Check out these resources: