Get Started
Installation
Step-by-step installation instructions for different environments
Overview
This guide covers the installation of Julep in various environments and configurations.
Prerequisites
Before installing Julep, ensure you have:
- Python 3.8+ or Node.js 16+ installed
- pip (for Python) or npm/bun (for Node.js) package manager
- A Julep API key (Get one here)
Package Installation
Python Installation
- Using pip:
- Using poetry:
- Using pipenv:
Node.js Installation
- Using npm:
- Using yarn:
- Using bun:
Environment Setup
Setting up Environment Variables
It’s recommended to use environment variables for sensitive information like API keys:
- Create a
.env
file in your project root:
- Load the environment variables in your code:
Docker Installation
If you prefer using Docker, you can run Julep in a containerized environment:
- Create a
Dockerfile
:
- Build and run the container:
Local Development Setup
For local development, you can run Julep locally:
- Clone the repository:
- Create required volumes:
- Set up environment:
- Start the services:
Verification
To verify your installation:
Troubleshooting
Common installation issues and solutions:
-
API Key Issues
- Ensure your API key is valid and properly set in environment variables
- Check if you’re using the correct environment (production/development)
-
Version Compatibility
- Make sure you’re using compatible versions of Python/Node.js
- Update to the latest SDK version if you encounter issues
-
Docker Issues
- Verify Docker is running and has sufficient resources
- Check if required ports are available and not blocked
Next Steps
Now that you have Julep installed, you can:
Quick Start
Create your first Julep agent and task