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

# Getting Started

> Create your account, templates, and start generating PDFs

# Getting Started with Peedief

## Creating Your Account

1. **Visit Peedief** at [peedief.com/app](https://peedief.com/app)

2. **Sign Up** using one of these methods:
   * **Email & Password**: Create a traditional account
   * **Google Sign-In**: Use your Google account for quick access

3. **Verify Your Email**: Check your inbox for a verification email and click the link to activate your account

4. **Choose Your Plan**: Start with our free plan (5 PDFs) or upgrade to a paid plan for more generations

## Understanding the Template Approach

Peedief uses a template-first approach for document generation:

1. **Create Templates**: Design custom document templates in the Peedief dashboard
2. **Name Your Templates**: Give each template a memorable name/ID for reference
3. **Choose Integration**: Use either REST API or MCP tools for AI agents
4. **Submit Data**: Send structured JSON data to populate your templates

<Note>
  Your free account comes with 5 PDF generations to get started!
</Note>

## Your First Template-Based PDF

### Step 1: Create Your Template

First, create a document template in your Peedief dashboard:

1. **Log into Dashboard**: Visit [peedief.com/app/sign-in](https://peedief.com/app/sign-in) and sign in
2. **Create New Template**: Click "Create Template"
3. **Choose Template Type**: Select certificate, invoice, report, or letter
4. **Design Your Template**: Use the template editor to customize layout and fields
5. **Name Your Template**: Give it a descriptive name (e.g., "company-certificate-template")

### Step 2: Choose Your Integration Method

Connect to Peedief using your preferred method:

**Option A: REST API** (for developers)

1. **Get API Key**: Go to dashboard → API Keys → Generate New Key
2. **Make API Call**: Use template endpoint with your data
3. **Receive PDF**: Download link returned in response

**Option B: MCP Tools** (for AI agents)

1. **Configure MCP**: Add Peedief MCP server to Claude Desktop or compatible AI client
2. **Authenticate**: Connect with your Peedief account
3. **Generate via Conversation**: Ask AI to create documents using your template names

### Step 3: Generate Your First PDF

**API Example:**

```bash theme={null}
curl -X POST "https://peedief.com/api/templates/by-name/company-certificate-template/pdf" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contextJson": {
      "recipientName": "John Smith",
      "courseName": "Introduction to AI",
      "completionDate": "2024-01-30"
    },
    "fileName": "certificate-john-smith.pdf"
  }'
```

**MCP Example:**

```
You: "Use template 'company-certificate-template' to create a certificate for John Smith who finished the 'Introduction to AI' course today"

AI: I'll create a certificate using your template.
[Certificate generated and download link provided]
```

## Next Steps

<CardGroup cols={2}>
  <Card title="MCP Setup Guide" icon="robot" href="/mcp-tools">
    Detailed MCP integration with Claude and other AI agents
  </Card>

  <Card title="API Integration" icon="code" href="/api-integration">
    Direct API integration for custom applications and workflows
  </Card>

  <Card title="Template Creation" icon="file-text" href="/pdf-customization">
    Learn how to design and customize templates
  </Card>

  <Card title="Account Management" icon="user-cog" href="/account-management">
    Manage your profile and usage limits
  </Card>

  <Card title="Best Practices" icon="star" href="/best-practices">
    Tips for optimal document generation
  </Card>
</CardGroup>
