# How to add 'Add to Calendar' Event to emails? ![image](https://docs-assets.foxecom.app/xflow-app/xflow2_nSMch6AT.gif) ## What is an “Add to calendar” link An **“Add to calendar”** link allows email recipients to instantly add an event (including date, time, location, and details) to their calendar platform, such as: * Google calendar * Apple calendar * Outlook calendar The link can either: * Open a pre-filled Google Calendar event page, or * Download a `.ics` file that works across most calendar applications. ## Steps to add “add to calendar” to emails ### Grab the calendar link First, **copy the calendar URL** you want to share in your email. Here’s how you can get the link from different calendars: First, create an event in Google Calendar, then click on the event you created and select **Publish event.** Don’t forget to make the event public by going to **Settings**, selecting the event, and checking the **Make available to public** box. ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(58)_JiVGfLZz.jpg) In the pop-up window, click **Copy** next to **Link to event.** ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(59)_OTC7NzcZ.jpg) Create an event in your calendar, **drag and drop it onto your desktop** to generate a **.ics file**. ![image](https://docs-assets.foxecom.app/xflow-app/xflow4_OVwXRXRc.gif) Go to **Shopify > Content > Files**, upload the .ics file, and copy the file link. ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(60)_zUQfQlXg.jpg) ### Add the calendar link to your email Now, paste the link you copied into the **link field** of a button, image, or even hyperlink the text. ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(61)_hwXed9Re.jpg) ### The event has been successfully added to your email! 🎉 Once you've added the link, don’t forget to **hit Save** and **apply the changes**. Make sure to **test your email** to check if the calendar event is working properly! Learn more: [Preview and test your email](https://docs.foxecom.com/xflow-app/email-templates/preview-and-test-your-email) ![image](https://docs-assets.foxecom.app/xflow-app/xflow2_nSMch6AT.gif)