Go to Settings > Contact forms and copy the embed code. Paste it wherever you want the form to appear:
<div id="contact-form-YOUR_TENANT_ID"></div>
<script
src="https://getmegadesk.com/contact-form-embed.js"
data-pub="YOUR_TENANT_ID"
data-container="contact-form-YOUR_TENANT_ID"
></script>
Inboxes and custom fields
The form automatically shows an inbox selector if you have created inboxes under Settings > Inboxes. When a visitor picks an inbox, any required fields defined for that inbox appear in the form — for example an order number or issue description.
What happens after submission
When a visitor submits the form:
- A ticket is created in your shared inbox.
- Your team receives a notification.
- The visitor receives a confirmation email with a reference number.
You can then reply to the ticket from the inbox and the visitor will receive your reply by email and from there a link to a live chat.
