Create a Modelence Account
Create an Application
Create an Environment
dev-YourName
rather than just dev
(unless you’re sure there won’t be anyone else working on the same project later).Connect Your Project
Go to Setup
button, redirecting you to your environment’s Setup page.In this page, you’ll see a Setup Local Environment
button,
which will show commands for either creating a new project or connecting an existing one.
Since you’ve already created a project, go with Connect Existing Modelence Project
and copy the corresponding shell command displayed in the popup..modelence.env
file with the necessary environment variables.Restart Your Development Server
npm run dev
command after this step.Now, if everything is set up correctly, you should see your environment status go from inactive
to active
in the Modelence Cloud dashboard.Create an Atlas Account
Create a Free Cluster
Set up Database Access
Configure Network Access
Get Your Connection String
<username>
and <password>
in the string with your database user’s username and passwordtest
), so it looks like this:.modelence.env
file in your project root (if it doesn’t exist already) and add:
.modelence.env
file is added to your .gitignore
to keep your credentials secure.