Get Started
Initial Set Up
Initial steps to get started
Install dev tools
-
Install Python to version
3.12
or greaterInstall Python here: https://www.python.org/about/gettingstarted/ -
(Optional, but recommended) Setup VSCode to run WorkflowAI
- Install VSCode. You can use another code editor however please note that some functionality may be limited for the time being.
- Install
code
command line to use VSCode to edit data- Open VSCode
- Type
cmd + shift + p
- Search for and select
Install ‘code’ command in PATH
Clone and navigate to the repo
- Clone the WorkflowAI repo.
- If using the CLI, you can type:
gh repo clone workflow-ai/workflowai
- If using the CLI, you can type:
For more help on cloning a repo visit: https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository
- Once you’ve cloned the repo, navigate to the directory of the repo on your computer.
- example
cd exampleUser/exampleFolder/workflowai
- example
Create a virtual environment
- Create a virtual environment. In the terminal type:
python -m venv .venv
source .venv/bin/activate
make install
Login to workflowAI
- In the terminal type:
workflowai start
- When asked if you want to log in, press
y
- Copy the token on the browser and paste it into the terminal (you will not see it in the terminal but it will be there) and press
enter
- When prompted, copy and paste your Open AI API key into terminal and press enter. .
You can get your OpenAI API key here
You did it! Now you can create your first task with WorkflowAI.