Skip to main content

Tutorial: Email Sender Agent

This agent is designed to help users send emails.

Resend API Key

  1. Go to resend.com and create a developer account.
  2. Login, and click on "API Keys" in the right sidebar.
alt text
  1. Next, click on the Create API Key button.
alt text
  1. Provide a unique name for your API Key that clearly identifies its purpose, then click the add button to proceed.
alt text
  1. You can only view the key once, so be sure to copy it and store it in a secure location.
alt text
  1. Then, register your email domain. You can only send email from email domains registered in your Resend account.
alt text

Agent Setup

  1. In SmythOS, navigate to the templates tab.
alt text
  1. You can scroll down to find the Email Sender Agent or simply search for it in the Search tab, then click the Remix button.
alt text
  1. Allow the template to initialize and configure.

Adding API Key to the Vault

Your API Key will be needed on your Send mail component.

  1. Navigate to the Vault section on your dashboard.
alt text
  1. Click the Add Key button to add your Resend API Key.
alt text
  1. Enter the API Key generated from your Resend account. Choose a unique Key name that you can easily distinguish whenever it's needed. Select API Call for the Scope, then click Done to save your API Key.
alt text
  1. Your Resend API Key has been successfully added to your Vault and is now ready for use.
alt text

Resend Component Setup

  1. Locate the Send Email component, and click on the gear icon to access its settings.
alt text
  1. Select the key icon to access your previously stored API key for Resend.
alt text
  1. Choose your Resend API key.
alt text
  1. Don’t forget to click the check icon to save your configuration.
alt text
  1. You’re all set!