# Using with an ATEM

In this tutorial, you'll find out how to use the downloaded files from H2R Stingers with your Blackmagic ATEM.

{% embed url="<https://youtu.be/8gvm3PXBrl8>" %}
Full ATEM tutorial
{% endembed %}

### 1. Export from the ATEM

Open the `ATEM Software Control` and use the `File` and `Save As...` menu option to export an XML file from your ATEM.

When prompted, only choose the `Media Pool` and `Macros` sections from the export window.

### 2. Open the exported file

Open the file that you just exported in a text editor, or better yet a code editors like [Visual Studio Code](https://code.visualstudio.com/). You can also open up the downloaded XML files too.

### 3. Copy/Paste time

Copy and  paste the code from the `macro.xml` file into your main ATEM XML file.&#x20;

The code from the `macro.xml` file should be pasted between the opening `<MacroPool>` and closing `</MacroPool>` tags. Best to put it in the right place based on the index.

Then, copy and paste the code from the `mediaPool.xml` file also.&#x20;

Replace the opening `<MediaPool>` and closing `</MediaPool>` tags when you paste in the code from the downloaded file.

{% hint style="info" %}
Feel free to skip the code in the mediaPool.xml file - Alternate method mentioned later.
{% endhint %}

### 4. Move the ATEM Media Pool folder

In order for the next step to work, be sure to move the `ATEM Media Pool` folder into the same directory that the main XML file is saved.

### 5. Save and Restore

Save the XML file and open the ATEM Software Control again.

Use the `File` and `Restore` option, and choose the XML file we've been working on.

When restored, you will see a new macro, and a Media Pool with 10 images.

### 6. (Optional) Drag and drop images into the Media Pool

If you skipped the mediaPool.xml from before, just drag and drop all 10 of the images in the `ATEM Media Pool` folder you downloaded into media slots on your ATEM. These will go in slot 1 to 10 unless you specified otherwise on H2R Stingers.

### 7. Test and go

The only thing left is to run the stinger a few times from the Macro window to make sure it all works as expected.
