# Integrate the SDK (/en/realtime-media/rtc-server-sdk/quickstart)

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

<_PlatformTabsGroup groupMode="structured" canonicalPlatform="linux-cpp" platforms="[&#x22;linux-cpp&#x22;,&#x22;linux-java&#x22;,&#x22;python&#x22;,&#x22;go&#x22;]" showTabs="true">
  <_PlatformPanel platform="linux-cpp">
    <_PlatformProcessedMarker groupMode="structured" canonicalPlatform="linux-cpp" platform="linux-cpp" />

    This article shows how to integrate the Server Gateway C++ SDK and run the sample project.

    ## Set up the development environment [#set-up-the-development-environment]

    Make sure your server meets the following requirements.

    ### Hardware environment [#hardware-environment]

    **Operating system**

    * Ubuntu 14.04 or higher
    * CentOS: 7.0 or higher

    **CPU architecture**

    * arm64
    * x86-64

    If you need to run the SDK on other architectures, [submit a ticket](https://agora-ticket.agora.io/) to contact technical support.

    **Performance**

    * CPU：8-core, 1.8 GHz or higher.
    * 2 GB of RAM or higher. 4 GB or higher is recommended.

    **Network**

    * The server is connected to the internet and has an internet IP.
    * The server can access `*.agora.io` and `*.agoralab.co`.

    ### Software environment [#software-environment]

    * glibc 2.18 or later
    * gcc 4.8 or later

    If you are using Ubuntu, taking Ubuntu 20.04.3 LTS as an example, install the following dependencies in your server:

    ```bash
    # Install aptitude
    sudo apt install aptitude
    # Install build-essential libx11-dev libxcomposite-dev libxext-dev libxfixes-dev libxdamage-dev cmake
    sudo aptitude install libx11-dev libxcomposite-dev libxext-dev libxfixes-dev libxdamage-dev cmake
    ```

    If you are using CentOS, taking CentOS 7.9.2009 as an example, install the following dependencies in your server:

    ```bash
    sudo yum groupinstall "Development Tools"
    sudo yum install wget
    sudo yum groupinstall X11
    ```

    ## Get an Agora App ID and a Video SDK Temporary Token [#get-an-agora-app-id-and-a-video-sdk-temporary-token]

    See [Get Started with Agora](build/manage-agora-account.md) to learn how to get an **Agora App ID** and a **Video SDK temporary token**.

    ## Get the SDK [#get-the-sdk]

    [Download](/en/api-reference/sdks?product=server-gateway\&platform=linux) the latest x86-64 SDK package and decompress the file. If you need the SDK build for other architectures, [submit a ticket](https://agora-ticket.agora.io/) to technical support.

    <_PlatformProcessedMarker close="true" />
  </_PlatformPanel>

  <_PlatformPanel platform="linux-java">
    <_PlatformProcessedMarker groupMode="structured" canonicalPlatform="linux-cpp" platform="linux-java" />

    This article shows how to create a simple Maven project, integrate the Server Gateway Java SDK, and run the app.

    ## Set up the development environment [#set-up-the-development-environment-1]

    Make sure your server meets the following requirements.

    ### Hardware environment [#hardware-environment-1]

    **Operating system**

    * Ubuntu 18.04 or higher
    * CentOS: 7.0 or higher

    **CPU architecture**

    * arm64
    * x86-64

    If you need to run the SDK on other architectures, [submit a ticket](https://agora-ticket.agora.io/) to contact technical support.

    **Performance**

    * CPU：8-core, 1.8 GHz or higher.
    * 2 GB of RAM or higher. 4 GB or higher is recommended.

    **Network**

    * The server is connected to the internet and has an internet IP.
    * The server can access `*.agora.io` and `*.agoralab.co`.

    ### Software environment [#software-environment-1]

    * [Apache Maven](https://maven.apache.org/download.cgi) or other build tools. This page uses Apache Maven as an example.
    * JDK 8

    ## Get an Agora App ID and a Video SDK Temporary Token [#get-an-agora-app-id-and-a-video-sdk-temporary-token-1]

    See [Get Started with Agora](build/manage-agora-account.md) to learn how to get an **Agora App ID** and a **Video SDK temporary token**.

    ## Create a Maven project [#create-a-maven-project]

    See [Maven in Five Minutes](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html) to create a Maven project.

    ```bash
    mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
    ```

    ## Integrate the SDK [#integrate-the-sdk]

    1. Navigate to the `my-app` folder.

       ```bash
       cd my-app
       ```

    2. Open `pom.xml` and replace the content with the following:

       ```xml
       <?xml version="1.0" encoding="UTF-8"?>
       <project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <modelVersion>4.0.0</modelVersion>

       <groupId>org.example</groupId>
       <artifactId>agora-rtc-linux-java</artifactId>
       <version>1.0-SNAPSHOT</version>

       <dependencies>
           <dependency>
           <groupId>io.agora.rtc</groupId>
           <artifactId>linux-sdk</artifactId>
           <version>3.7.200.21</version>
           </dependency>
       </dependencies>

       <properties>
           <maven.compiler.source>1.8</maven.compiler.source>
           <maven.compiler.target>1.8</maven.compiler.target>
       </properties>

       <build>
           <plugins>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-shade-plugin</artifactId>
               <version>2.3</version>
               <configuration>
               <createDependencyReducedPom>true</createDependencyReducedPom>
               </configuration>
               <executions>
               <execution>
                   <phase>package</phase>
                   <goals>
                   <goal>shade</goal>
                   </goals>
                   <configuration>
                   <transformers>
                       <transformer
                           implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                       <mainClass>App</mainClass>
                       </transformer>
                   </transformers>
                   </configuration>
               </execution>
               </executions>
           </plugin>
           </plugins>
       </build>
       </project>
       ```

    <CalloutContainer type="info">
      <CalloutDescription>
        Refer to [mvnrepository](https://mvnrepository.com/artifact/io.agora.rtc/linux-sdk) for other integration methods, such as Gradle.
      </CalloutDescription>
    </CalloutContainer>

    <_PlatformProcessedMarker close="true" />
  </_PlatformPanel>

  <_PlatformPanel platform="python">
    <_PlatformProcessedMarker groupMode="structured" canonicalPlatform="linux-cpp" platform="python" />

    This article shows how to integrate the Server Gateway Python SDK and run the sample project.

    ## Set up the development environment [#set-up-the-development-environment-2]

    Make sure your server meets the following requirements.

    ### Hardware environment [#hardware-environment-2]

    **Operating system**

    * Ubuntu 18.04 or higher
    * CentOS: 7.0 or higher

    **CPU architecture**

    * x86-64

    If you need to run the SDK on other architectures, [submit a ticket](https://agora-ticket.agora.io/) to contact technical support.

    **Performance**

    * CPU：8 cores, 1.8 GHz or higher.
    * 2 GB of RAM or higher. 4 GB or higher is recommended.

    **Network**

    * The server is connected to the internet and has an internet IP.
    * The server can access `*.agora.io` and `*.agoralab.co`.

    ### Software environment [#software-environment-2]

    * An IDE that supports Python, such as PyCharm or Visual Studio Code.
    * Python 3.10 or above

    ## Get an Agora app ID and a Video SDK temporary token [#get-an-agora-app-id-and-a-video-sdk-temporary-token-2]

    See [Get Started with Agora](build/manage-agora-account.md) to learn how to get an **Agora app ID** and a **Video SDK temporary token**.

    ## Download and install the SDK [#download-and-install-the-sdk]

    Run the following command to get the latest SDK.

    ```bash
    pip install agora_python_server_sdk
    ```

    <_PlatformProcessedMarker close="true" />
  </_PlatformPanel>

  <_PlatformPanel platform="go">
    <_PlatformProcessedMarker groupMode="structured" canonicalPlatform="linux-cpp" platform="go" />

    This article shows how to integrate the Server Gateway Go SDK and run the sample project.

    ## Set up the development environment [#set-up-the-development-environment-3]

    Make sure your server meets the following requirements.

    ### Hardware environment [#hardware-environment-3]

    **Operating system**

    * Ubuntu 18.04 or higher
    * CentOS: 7.0 or higher

    **CPU architecture**

    * x86-64

    If you need to run the SDK on other architectures, [submit a ticket](https://agora-ticket.agora.io/) to contact technical support.

    **Performance**

    * CPU：8-core, 1.8 GHz or higher.
    * 2 GB of RAM or higher. 4 GB or higher is recommended.

    **Network**

    * The server is connected to the internet and has an internet IP.
    * The server can access `*.agora.io` and `*.agoralab.co`.

    ### Software environment [#software-environment-3]

    * Go 1.21 or above

    ## Get an Agora app ID and a Video SDK temporary token [#get-an-agora-app-id-and-a-video-sdk-temporary-token-3]

    See [Get Started with Agora](build/manage-agora-account.md) to learn how to get an **Agora app ID** and a **Video SDK temporary token**.

    ## Get the SDK [#get-the-sdk-1]

    Run the following command to get the latest SDK.

    ```bash
    git clone https://github.com/AgoraIO-Extensions/Agora-Golang-Server-SDK.git go_rtc_sdk
    ```

    ## Compile the sample project [#compile-the-sample-project]

    Run the following commands to compile the sample project:

    ```bash
    # Enter the SDK directory
    cd go_rtc_sdk
    # Execute the build
    make build
    ```

    ## Add the required dependencies [#add-the-required-dependencies]

    In the project’s `go.mod` or builds file, add the following lines to include the required SDK dependencies.

    ```bash
    # Replace /path/to/go_rtc_sdk with the actual path of the SDK you downloaded in Step 1
    replace github.com/AgoraIO-Extensions/Agora-Golang-Server-SDK/v2 => /path/to/go_rtc_sdk
    # Replace version_number with the actual SDK version number, which you can find in the release notes, e.g., v2.1.0
    require github.com/AgoraIO-Extensions/Agora-Golang-Server-SDK/v2 version_number
    ```

    <_PlatformProcessedMarker close="true" />
  </_PlatformPanel>
</_PlatformTabsGroup>
