Getting Your Contact Form Up & Running

Adventury Network developed contact forms using Astro and StarFunnel that support multiple topics. Each topic can have its own destination email or Slack channel. To open the contact dialog, simply create a link with href="#contact"

You can configure your contact form in the CMS under Settings > Contact, Social & Forms

MailGun

For mailgun you have to add these values in your .env. the MAILGUN_API_URL can be https://api.mailgun.net/v3 or https://api.eu.mailgun.net depending on your region.

MAILGUN_API_KEY=XXXXXXXXX
MAILGUN_DOMAIN=XXXXXXXXX
MAILGUN_API_URL=https://api.eu.mailgun.net

Postmark

Add your server token to the .env.

POSTMARK_SERVER_TOKEN=XXXXXXXXX

Slack

For slack to work you first need to create an app, then add the slack token + channel id to your .env

SLACK_CHANNEL_ID=XXXXXXXXX
SLACK_TOKEN=XXXXXXXXX

Create your slack app:

  1. Go to https://api.slack.com/apps
  2. Click “Create an App” Button.
  3. Select “from scratch”
  4. Set name and workspace
  5. Go to OAuth & Permissions menu.
  6. Add Scopes ( chat:write, chat:write:customize, chat:write:public)
  7. In the left settings menu select “install app” and connect it to your workspace
  8. Now you have your Bot User OAuth Token this is your SLACK_TOKEN