> ## Documentation Index
> Fetch the complete documentation index at: https://getalchemystai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# B2b newsletter writer

# B2B Newsletter AI Agent

## Overview

The **B2B Newsletter AI Agent** is a SaaS prototype that automatically generates audience-focused newsletters for businesses using the Alchemyst AI Platform. It leverages AI to create high-quality, personalized content that can be used for marketing, customer engagement, or internal communication.

This agent provides a simple interface where users can input key details about their audience, product, or service, and receive a professional newsletter draft in return.

***

## Features

* Generate fully structured B2B newsletters in minutes.
* Customize content for specific audiences or industries.
* Supports multiple newsletter formats (HTML, plain text).
* Ready-to-use SaaS template for deployment.

***

## Setup Instructions

### Prerequisites

* Python 3.10+ or Node.js 18+ (depending on your implementation)
* Alchemyst AI SDK installed and configured
* Access to Alchemyst API key

### Installation

1. Clone the repository:

```bash theme={null}
git clone https://github.com/aniketsingh1023/B2B-Newsletter-SaaS.git
cd B2B-Newsletter-SaaS/agents/b2b-newsletter-agent
```

Install dependencies:

For Python version:

```

pip install -r requirements.txt

```

For Node.js version:

```
npm install
```

Set your Alchemyst API key  and also Gemini API Key as an environment variable:

```

ALCHEMYST_AI_API_KEY=your_api_key
GEMINI_API_KEY=your_api_key

```
