# Getting Started with Dotbase

## Prerequisites

* Active Dotbase account
* Basic understanding of Python (for custom functions)

## Quick Start

1. **Access the IDE**
   * Log in to your account
2. **Configure API Keys**
   * Click "IDE Settings" in the top bar
   * Enter your LLM API key
   * Save configuration

## Building Your First Workforce

### 1. Add Agents

From the Library Panel, drag and drop:

* AssistantAgent
* UserProxy
* GroupChat

### 2. Configure Agents

For AssistantAgent:

* Set system prompt
* Configure model parameters
* Add custom functions if needed

### 3. Connect Components

* Use handles to connect agents
* Green handles indicate compatible connections
* Connect agents to GroupChat for collaboration

### 4. Test Your Workforce

* Use the testing panel to interact
* Monitor agent communications
* Debug and adjust as needed

### 5. Export and Deploy

```python
# Export as Python script
File > Export As > Python Code

# Run locally
pip install pyautogen
python your_workforce.py
```

## Common Configurations

```python
# Example AssistantAgent configuration
{
    "name": "analyst",
    "system_prompt": "You are a data analyst...",
    "model": "llama-3b",
    "temperature": 0.7
}
```

## Troubleshooting

* **Connection Issues**: Verify handle colors match
* **Export Errors**: Check all required components are connected
* **Runtime Errors**: Validate API keys and configurations
