File size: 1,152 Bytes
24ba1f5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# KB: Hostinger Hosting & Deployment

The **Hostinger Agent** handles the final mile of the ebook project: securing a domain and hosting the sales pages and companion apps.

## Core Capabilities
- **Account Usage**: Monitoring hosting resources via `hostinger_get_account_info`.
- **Domain Management**: Listing and verifying owned domains with `hostinger_list_domains`.
- **DNS Configuration**: Using `hostinger_add_dns_record` to point domains to sales pages (e.g., A records) or verify ownership for external services (e.g., TXT records for Stripe/Google).
- **Automated Deployment**: Using `hostinger_deploy_static_site` to push the sales page copy generated by the Sales Page Agent directly to the web.

## Workflow Integration
1. **Purchase**: The user buys a domain on Hostinger.
2. **Setup**: The Hostinger Agent adds necessary DNS records for SSL and CDN.
3. **Draft**: The Sales Page Agent creates the high-converting copy.
4. **Publish**: The Hostinger Agent deploys the copy to the domain's `public_html` directory.

## Connection
The agent uses the `HOSTINGER_API_KEY` for secure, authenticated REST API requests to the Hostinger backend.