> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating an exporter

If you're using multiple scripts for your Activity Tracking Events, you'll need to create an exporter module to ensure instance persists across scripts. Please follow the instructions below:

<Steps>
  <Step title="Navigate to your ServerScriptService." />

  <Step title="Create a Module Script named ActivityExporterModule" />

  <Step title="Use this code snippet in your new module script">
    ```lua theme={null}
    local activity = require(126591263956758)
    return return activity
    ```
  </Step>

  <Step title="To use the module in your order handler script">
    Require the module in your Loader Script, and `init` the module as normal.
  </Step>
</Steps>

In all locations where you want to use the module for event tracking, simply require the exporter module. You only need to run `init` in one location.
