> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.run-motion.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Import an activity from Apple Health

## Granting RunMotion Coach access to Apple Health  
To grant permission, there are 2 options:

1. If this is the first time you are granting permission, from the RunMotion Coach app > **My Profile** (icon at the bottom right in the menu) > **Connect a tracking app** > **Apple Health** > **Connect**.  

2. For subsequent times (or if an error message appears), this is done from the iPhone **Settings** > **Health** > **Data & Devices Access** > **RunMotion** > Then **Allow Reading** and **Writing** for all requested data.  
👉 **Reading** is for importing activities performed into RunMotion.  
👉 **Writing** is for exporting planned sessions from RunMotion.  

## Retrieve the latest activities  
Each time the **RunMotion Coach app comes to the foreground (on every opening)**, we check if a new Apple Health activity is available on your iPhone. If so, we retrieve it and then display it. This usually takes about ten seconds.

It will also be available when you want to indicate that you have finished the planned session.