Welcome to the AgenticFlow boilerplate! This guide will help you set up and start using the boilerplate quickly.
Follow these steps to get your development environment set up:
First, you need to install the necessary dependencies. Run the following command in your terminal:
npm iNext, set up your environment variables. Create a .env file in the root directory and add the following lines, replacing XXX with your actual values:
NEXT_PUBLIC_API_BASE_URL=https://api.pixelml.com/agentic
AGENTICFLOW_API_KEY=XXX
AGENTICFLOW_TEAMSPACE_ID=XXX
To obtain the TEAMSPACE_ID, click on the Copy Workspace ID button as shown in the image below:
To retrieve the API_KEY, visit the following URL: AgenticFlow Settings.
Once the dependencies are installed and the environment variables are set, you can start the preview server by running:
npm run devThis command will start the development server, allowing you to preview your project in the browser.
To preview a specific workflow, navigate to the following URL in your web browser:
http://localhost:3000/workflows/<workflow_id>
Replace <workflow_id> with the actual ID of the workflow you wish to preview.
Join our Discord community to ask questions, receive support, and share your feedback. Click here to join: AgenticFlow Discord 🚀.
Alternatively, explore our documentation to deepen your understanding of AgenticFlow.