# Integrate an extension (/en/realtime-media/interactive-live-streaming/build/apply-effects-and-enhancements/use-an-extension/macos)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

Extensions are add-ons designed to rapidly extend the functionality of your app. [Extensions Marketplace](https://www.agora.io/en/agora-extensions-marketplace/) is home to extensions that make your app more fun. Extensions provide features such as Audio effects and voice changing, Face filters and background removal, and Live transcription and captioning.

    In the Agora Extensions Marketplace:

    * Vendors create and publish extensions to provide functionality such as audio and video processing.
    * App developers use extensions to quickly implement fun and interactive functionality.

    This page shows you how to integrate an extension from Agora Extensions Marketplace into your app. There can be specific guidance for each extension.

    ## Understand the tech [#understand-the-tech-2]

    An extension accesses voice and video data when it is captured from the user's local device, modifies it, then plays the updated data to local and remote video channels.

    **Extension call workflow**

    ![img](https://assets-docs.agora.io/images/video-sdk/extension-callflow.svg)

    A typical transmission pipeline consists of a chain of procedures, including capture, pre-processing, encoding, transmitting, decoding, post-processing, and play. Audio or video extensions are inserted into either the pre-processing or post-processing procedure, in order to modify the voice or video data in the transmission pipeline.

    ## Prerequisites [#prerequisites-2]

    To test the code used in this page you need to have:

    * An Agora [account](../../manage-agora-account.md) and [project](../../manage-agora-account.md).

    * A computer with Internet access.
      Ensure that no firewall is blocking your network communication.

    * Implemented the [SDK quickstart](../../index.mdx).

    ## Project setup [#project-setup-2]

    In order to integrate an extension into your project:

    1. **Activate an extension**

    2. Log in to [Agora Console](https://console.agora.io/v2).

    3. In the left navigation panel, click **Extension Marketplace**, then click the extension you want to activate.

    You are now on the extension detail page.

    3. Select a pricing plan and click **Buy and Activate**.
       * If you have already created an Agora project:

         The **Projects** section appears and lists all of your projects.
       * If you have not created an Agora project:

         [Create a new project](../../manage-agora-account.md), the project appears in the **Projects** section.

    4. Under **Projects** on the extension detail page, find the project in which you want to use the extension, then turn on the switch in the **Action** column.

    5. **Get the apiKey and apiSecret for the extension**

    If required for the extension, to get the extension apiKey and apiSecret, in the **Projects** extension detail page, click **View** in the **Secret** column.

    3. **Download the extension**

    In the extension detail page, click **Download**, then unzip the extension in a local directory.

    1. **Install the extension in your project**

    2. Save the extension `.framework` or `.xcframwork` files to your project folder.

    3. In Xcode, open your project and select your target. Go to **General** > **Frameworks, Libraries, and Embedded Content**.

    4. Click &#x2A;*+** > &#x2A;*Add Other…** > **Add Files** and select the `.framework` or `.xcframwork` files you saved earlier.

    You are now ready to integrate the extension in your app.

    ## Integrate the extension into your project [#integrate-the-extension-into-your-project-2]

    To use an extension in your Agora project:

    * The implementation procedure varies according to extensions. Each extension vendor provides their own implementation guides, which is validated by Agora before the official release of the extension.

    * To implement the extension in your project, go to the detail page of the extension on [Agora Console](https://console.agora.io/v2), click **Implementation guides**, and follow the steps on the page.

    ## Test your implementation [#test-your-implementation-2]

    To ensure that you have integrated the extension in your app:

    1. In Xcode, Click `Run`. A moment later you will see the project installed on your device.

    2. Connect to a channel and test your effect.

    ## Reference [#reference-2]

    This section contains content that completes the information on this page, or points you to documentation that explains other aspects to this product.

    
  
      
  
      
  
      
  
      
  
      
  
      
  
