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

# Resend

# Resend Provider

ResendProvider is a class that implements the Resend API and allows email sending through Keep.

## Authentication

This provider requires authentication.

* **api\_key**: Resend API key (required: True, sensitive: True)

## In workflows

This provider can be used in workflows.

As "action" to make changes or update data, example:

```yaml theme={null}
actions:
    - name: Query resend
      provider: resend
      config: "{{ provider.my_provider_name }}"
      with:
        _from: {value}  # From email address
        to: {value}  # To email address
        subject: {value}  # Email subject
        html: {value}  # Email body
```

Check the following workflow example:

* [bash\_example.yml](https://github.com/keephq/keep/blob/main/examples/workflows/bash_example.yml)

## Connecting with the Provider

To connect with the Resend provider and send emails through Keep, follow these steps:

1. Obtain a Resend API key: Visit [Resend API Keys](https://resend.com/api-keys) to obtain an API key if you don't have one already.
2. Configure the Resend provider in your system with the obtained API key.
3. Use the following YAML example to send an email notification using the Resend provider:

```yaml title=examples/alert_example.yml theme={null}
# Send an email notification using the Resend provider.
alert:
  id: email-notification
  description: Send an email notification using Resend
  actions:
    - name: send-email
      provider:
        type: resend
        config: "{{ providers.resend-provider }}"
        with:
          _from: "sender@example.com"
          to: "recipient@example.com"
          subject: "Hello from Resend Provider"
          html: "<p>This is the email body.</p>"
```

## Useful Links

* [Resend API Keys](https://resend.com/api-keys)
