# Start right now 👉

### **Follow these 4 steps to get started:**

*Remember to rename `.env.example` to `.env` and not commit it to Github!*

1. Choose database provider
   1. [Firestore](#firestore)
   2. [MongoDB](#mongodb)
2. Choose payment provider
   1. [Stripe](#stripe)
   2. [LemonSqueezy](#lemonsqueezy)
3. Choose authentication providers (if needed)
   1. [Google](#google)
   2. [Facebook](#facebook)
   3. [Magic links (Password-less)](#magic-link-email)
4. Configure and test your app

### Starting the app

If you have setup API keys for [Database](#firestore) and [Payment](#stripe) proceed to these steps.

1. Set following `.env` variables:\
   `SITE_URL=`\
   `NEXTAUTH_URL=`\
   `NEXTAUTH_SECRET=`
2. Configure `appConfig.ts` to your needs. Core app functionality is controlled from here.
3. Set your `DatabaseProvider` and `PaymentProvider` to the ones which you are using [![](https://camo.githubusercontent.com/f9c7a0695fdc40cf5c92d32f057691332be6456614576ba536b545dd4c97270e/68747470733a2f2f692e696d67686970706f2e636f6d2f66696c65732f756a687262313732353033383532392e706e67)](https://camo.githubusercontent.com/f9c7a0695fdc40cf5c92d32f057691332be6456614576ba536b545dd4c97270e/68747470733a2f2f692e696d67686970706f2e636f6d2f66696c65732f756a687262313732353033383532392e706e67)
4. Create products/subscriptions in your payment provider and set `priceId` in the appConfig.
5. Run `npm install` and `npm run dev` to test your app :)

*Note: Remember to rename `.env.example` to `.env` and not commit it to Github!*

### You are now ready to launch! 🚀


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://accelerator.gitbook.io/docs/getting-started/quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
