Install dev tools
-
Install Python to version
3.12or greater -
(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
codecommand 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:
- 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 .venvsource .venv/bin/activatemake 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.