juanmaguitar's picture
Added environment variables confir for WP interaction
cd969b0
---
title: First Agent Template
emoji:
colorFrom: pink
colorTo: yellow
sdk: gradio
sdk_version: 5.15.0
app_file: app.py
pinned: false
tags:
- smolagents
- agent
- smolagent
- tool
- agent-course
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## Environment Variables
The application requires the following environment variables to be set in a `.env` file:
### WordPress Credentials
```
WORDPRESS_SITE_URL=https://your-wordpress-site.com
WORDPRESS_USERNAME=your-username
WORDPRESS_APP_PASSWORD=your-app-password
```
### Weather API
```
OPENWEATHER_API_KEY=your-api-key
```
Make sure to create a `.env` file in the root directory and add these variables with your actual credentials before running the application.