# MD for: https://www.mercadopago.com.uy/developers/es/docs/checkout-pro/configure-development-enviroment.md \# Configure development environment To start integrating Mercado Pago's payment solutions, it is necessary to prepare your development environment with a series of configurations that will allow you to access Mercado Pago's functionalities from the backend. Next, you will need to install and configure the official Mercado Pago SDK: > SERVER\_SIDE > > h2 > > Install the Mercado Pago SDK The \*\*backend SDK\*\* is designed to handle server-side operations, allowing you to create and manage :toolTipComponent\[payment preferences\]{content="A payment preference is an object or set of information that represents the product or service you want to charge for. Within the Mercado Pago ecosystem, this object is known as \`preference\`."}, process transactions, and perform other critical operations securely. > NOTE > > If you prefer, you can download the Mercado Pago SDKs from our \[official libraries\](https://www.mercadopago.com.uy/developers/en/docs/sdks-library/server-side). Install the Mercado Pago SDK in the language that best fits your integration using a dependency manager, as shown below. * [csharp ](#editor%5F5) * [go ](#editor%5F7) * [java ](#editor%5F3) * [node ](#editor%5F2) * [php ](#editor%5F1) * [python ](#editor%5F6) * [ruby ](#editor%5F4) php node java ruby csharp python go To install the SDK, you must run the following code in your terminal's command line using [Composer](https://getcomposer.org/download): ``` php composer.phar require "mercadopago/dx-php" ``` Copiar To install the SDK, you must run the following code in your terminal's command line using [npm](https://www.npmjs.com/get-npm): ``` npm install mercadopago ``` Copiar To install the SDK in your [Maven](http://maven.apache.org/install.html) project, you must add the following dependency to your pom.xml file and run maven install in your terminal's command line: ``` com.mercadopago sdk-java 2.1.7 ``` Copiar To install the SDK, you must run the following code in your terminal's command line using [Gem](https://rubygems.org/gems/mercadopago-sdk): ``` gem install mercadopago-sdk ``` Copiar To install the SDK, you must run the following code in your terminal's command line using [NuGet](https://docs.microsoft.com/es-es/nuget/reference/nuget-exe-cli-reference): ``` nuget install mercadopago-sdk ``` Copiar To install the SDK, you must run the following code in your terminal's command line using [Pip](https://pypi.org/project/mercadopago/): ``` pip3 install mercadopago ``` Copiar ``` go get -u github.com/mercadopago/sdk-go ``` Copiar \> SERVER\_SIDE > > h2 > > Initialize Mercado Pago library Next, create a main file (\_main\_) in the \_backend\_ of your project with the programming language you are using. There, place the following code replacing the value \`TEST\_ACCESS\_TOKEN\` with the :toolTipComponent\[test Access Token\]{content="Testing private key of the application created in Mercado Pago, that is used in the backend. You can access it through \*Your integrations\* in the \*Integration data\* section, by going to the \*Credentials\* section located on the right side of the screen and clicking on \*Testing\*. Alternatively, you can access it through \*Your integrations > Application details > Testing > Testing credentials\*."}. * [csharp ](#editor%5F12) * [go ](#editor%5F14) * [java ](#editor%5F10) * [node ](#editor%5F9) * [php ](#editor%5F8) * [python ](#editor%5F13) * [ruby ](#editor%5F11) php node java ruby csharp python go ``` ``` Copiar ``` // Mercado Pago SDK import { MercadoPagoConfig, Preference } from 'mercadopago'; // Add credentials const client = new MercadoPagoConfig({ accessToken: 'YOUR_ACCESS_TOKEN' }); ``` Copiar ``` // Mercado Pago SDK import com.mercadopago.MercadoPagoConfig; // Add credentials MercadoPagoConfig.setAccessToken("TEST_ACCESS_TOKEN"); ``` Copiar ``` # Mercado Pago SDK require 'mercadopago' # Add credentials sdk = Mercadopago::SDK.new('TEST_ACCESS_TOKEN') ``` Copiar ``` // Mercado Pago SDK using MercadoPago.Config; // Add credentials MercadoPagoConfig.AccessToken = "TEST_ACCESS_TOKEN"; ``` Copiar ``` # Mercado Pago SDK import mercadopago # Add credentials sdk = mercadopago.SDK("TEST_ACCESS_TOKEN") ``` Copiar ``` import ( "github.com/mercadopago/sdk-go/pkg/config" ) cfg, err := config.New("{{ACCESS_TOKEN}}") if err != nil { fmt.Println(err) } ``` Copiar After completing these configurations, your development environment is ready to proceed with setting up a payment preference.