# LiveData Conversation Intelligence (/en/realtime-media/marketplace/build/add-moderation-and-intelligence/livedata-conversation-intelligence/ios)

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

The LiveData Conversation Intelligence extension enables you to quickly add real-time speech transcription and translation features to your app.

      
  
      
    This page shows you how to integrate and use the extension in your app.

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

    The extension is an encapsulation of a cloud real-time speech recognition and translation API. You can integrate its capabilities by passing the specified `key` and `value` parameters to the `setExtensionPropertyWithVendor` method provided by the Video SDK.

    ## Prerequisites [#prerequisites-1]

    * Xcode 9.0 or later.
    * A physical device (not an emulator) running iOS 9.0 or later.
    * Integrated the Video SDK and implemented basic video calling, see [SDK quickstart](../../../video/quickstart.mdx).

    ## Project setup [#project-setup-1]

    1. Clone the sample repository:

       ```bash
       git clone https://github.com/highras/rtvt-agora-marketplace.git
       ```

    2. Enter `iOS/SW_Test` and run:

       ```bash
       pod install
       ```

    3. Open `SW_Test.xcworkspace` in Xcode.

    4. Connect a real iOS device and run the project.

    ## Integrate the extension [#integrate-the-extension-1]

    ### Add the extension package [#add-the-extension-package-1]

    1. Download the extension package from Extensions Marketplace.
    2. Save all `.framework` files to your project folder.
    3. Add the dynamic libraries in Xcode and make sure **Embed** is set to **Embed & Sign**.
    4. Add `-ObjC` to **Other Linker Flags**.

       ![Add ObjC](https://assets-docs.agora.io/images/extensions-marketplace/livedata-ios-build-settings-add-objc.png)

    ![Capitalize O and C](https://assets-docs.agora.io/images/extensions-marketplace/livedata-ios-build-settings-capitalize-o-and-c.png)

    ### Enable the extension [#enable-the-extension-1]

    ```objc
    AgoraRtcEngineConfig *config = [AgoraRtcEngineConfig new];
    config.eventDelegate = self;
    self.agoraKit = [AgoraRtcEngineKit sharedEngineWithConfig:config delegate:self];
    [self.kit enableExtensionWithVendor:[iLiveDataSimpleFilterManager companyName]
                              extension:[iLiveDataSimpleFilterManager plugName]
                                enabled:YES];
    ```

    ### Start transcription and translation [#start-transcription-and-translation-1]

    Use `setExtensionPropertyWithVendor` with the `startAudioTranslation` key and a JSON string containing `appKey`, `appSecret`, `srcLanguage`, and `destLanguage`.

    ### Get transcription and translation results [#get-transcription-and-translation-results-1]

    After successful initialization, the extension returns transcription and translation results through the `onEvent` callback.

    ### Stop using the extension [#stop-using-the-extension-1]

    Use `setExtensionPropertyWithVendor` with the `closeAudioTranslation` key.

    ## Reference [#reference-1]

    * [enableExtensionWithVendor](https://api-ref.agora.io/en/video-sdk/ios/4.x/documentation/agorartckit/agorartcenginekit/enableextension\(withvendor\:extension\:enabled:\))
    * [setExtensionPropertyWithVendor](https://api-ref.agora.io/en/video-sdk/ios/4.x/documentation/agorartckit/agorartcenginekit/setextensionpropertywithvendor\(_\:extension\:extensioninfo\:key\:value:\))

    
  
