Welcome to Evoka
  • # Introduction
  • Getting Started
    • What is Evoka AI?
    • Getting Started
      • Step 1
      • Step2
      • Step 3
      • Step 4
      • Step 5
    • Features
    • AI Agents
    • Tech Stack
    • Frequently Asked Questions (FAQ)
    • Api Documentation
Powered by GitBook
On this page
  1. Getting Started
  2. Getting Started

Step 3

Step 3: Configure Environment Variables

Set up the environment variables for both the backend and frontend.

Backend (.env)

Create a .env file in the backend directory and add the following:

OPENAI_API_KEY=your_openai_api_key
PORT=3001

Frontend (.env.local)

Create a .env.local file in the frontend directory and add the following:

NEXT_PUBLIC_API_URL=http://localhost:3001
PreviousStep2NextStep 4

Last updated 5 months ago