# MD for: https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-preferences/create-application.md \# Create application \*\*Applications\*\* are registered entities within Mercado Pago that act as a unique identifier for managing the authentication and authorization of your integrations. They represent the link between your development and Mercado Pago and constitute the first stage in carrying out the integration. To create an application, you have three options available: with an \*\*AI agent from your code editor\*\*, with the \*\*Mercado Pago Developers Assistant\*\*, or \*\*manually from the\*\* \[integration Panel\](https://www.mercadopago.com.mx/developers/panel/app). !\[Three options to create an application\](/images/snippets/create-application/new-create-app-onboarding-es.png) :::::TabsComponent ::::TabComponent{title="Create with AI"} You can use our AI resources to create your application from your IDE or agent in 2 steps. The agent will take care of creating the application in the integration panel and guiding you through the entire configuration. !\[Installing the Mercado Pago plugin\](/images/snippets/create-application/new-create-app-ia-v2-es.png) To do this, you have two options: installing the \[Mercado Pago Plugin\](https://www.mercadopago.com.mx/developers/en/docs/mp-plugin/overview), available for Claude Code and Codex, or configuring the \[Mercado Pago MCP Server\](https://www.mercadopago.com.mx/developers/en/docs/mcp-server/overview), available for editors such as VS Code and Cursor. Follow the instructions for the option you choose. :::AccordionComponent{title="Plugin"} ### Claude Code Run the following command to install the Mercado Pago plugin for Claude Code. \`\`\`bash claude plugin install mercadopago@claude-plugins-official \`\`\` Once installed, run the \`/mp-connect\` command to authorize the agent's access to your Mercado Pago account. ### Codex Run the following commands to install the Mercado Pago plugin for Codex. \`\`\`bash codex plugin marketplace add mercadopago/mercadopago-codex-marketplace codex plugin add mercadopago@mercadopago-codex-marketplace \`\`\` Once installed, run the \`/mp-connect\` command to authorize the agent's access to your Mercado Pago account. ::: :::AccordionComponent{title="MCP"} ### VS Code Add the following configuration to your \`mcp.json\` file. \`\`\`json { "mcp": { "servers": { "mercadopago-mcp-server": { "type": "http", "url": "https://mcp.mercadopago.com/mcp" } } } } \`\`\` ### Cursor Add the following configuration to your \`mcp.json\` file. \`\`\`json { "mcpServers": { "mercadopago-mcp-server": { "url": "https://mcp.mercadopago.com/mcp" } } } \`\`\` ::: Finally, ask the agent to create your application in Mercado Pago. If you'd like, you can copy and paste the following prompt. \`\`\` I want to integrate with Mercado Pago. Recommend the ideal payment solution for my project, create the application, and guide me through the integration. \`\`\` > NOTE > > You can complete the integration with AI support. If you need help, check the \[Integrate with AI guide\](https://www.mercadopago.com.mx/developers/en/docs/ai-resources). :::: ::::TabComponent{title="Create with the Assistant"} You can use the \*\*Mercado Pago Developers Assistant to create your application\*\* conversationally and easily, without navigating through forms. To do this, follow the steps below. 1\. Go to \[Mercado Pago Developers\](https://www.mercadopago.com.mx/developers) and log in with your account. 2\. In the bottom right corner of the screen, you'll see the \*\*Assistant\*\* widget. Click to open it. 3\. From there, you can simply ask the Assistant to create your application conversationally, meaning you tell it you want to create an application and interact with the questions and answers. 3\. Next, the Assistant will ask you to provide a series of details to complete the setup: - \*\*Application name\*\*: provide a name that lets you identify your integration. It accepts a maximum of 100 characters. - \*\*Product to integrate\*\*: from the list of all Mercado Pago payment solutions shown by the Assistant, select the one that best fits your business. 4\. Finally, when the Assistant confirms your application has been created, it will show you the \*\*App ID\*\*, the \*\*Product ID\*\*, and the \*\*integration type\*\*, if applicable. > NOTE > > Once your application is created, the Assistant can help you obtain test credentials, production credentials, or configure Webhooks, as well as suggest how to carry out your integration based on your stack. :::: ::::TabComponent{title="Create manually"} If you prefer, you can \*\*create your application manually\*\* from the \[integration Panel\](https://www.mercadopago.com.mx/developers/panel/app) by following the steps below. !\[Mercado Pago Developers panel\](/images/snippets/create-application/new-create-app-panel1-v2-es.png) 1\. Go to \[Mercado Pago Developers\](https://www.mercadopago.com.mx/developers) with your Mercado Pago account. 2\. On the home screen, select the \*\*Create in the integration panel\*\* option. > NOTE > > If you already have applications created, go to \*\*Your integrations\*\* and click \*\*Create application\*\*. 3\. In \*\*Choose a solution to integrate\*\*, select \*\*Checkout Pro\*\*. 4\. In \*\*Other information\*\*: - \*\*API type\*\*: select \*\*Preferences API\*\*. - \*\*Application name\*\*: enter a name that lets you identify it. 5\. Accept the \[Privacy Statement\](https://www.mercadopago.com.mx/privacidad) and the \[Terms and Conditions\](https://www.mercadopago.com.mx/developers/en/docs/resources/legal/terms-and-conditions) and click \*\*Create application\*\*. !\[Application creation form (Checkout Pro / Preferences API)\](/images/snippets/create-application/new-create-app-panel2-choprolegacy-es.png) :::: ::::: In \[Your integration\](https://www.mercadopago.com.mx/developers/panel/app), you will be able to view the list of all your created applications and access the \[Integration data\](https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-preferences/resources/application-details) for each of them. > NOTE > > If you wish, you can edit or delete an application. In the latter case, keep in mind that your store will lose the ability to receive payments through the Mercado Pago integration associated with that application. For more information, please refer to the \[Integration data\](https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-preferences/resources/application-details). ## Access test credentials After creating your application, the :toolTipComponent\[test credentials\]{link="/developers/en/docs/checkout-pro-preferences/resources/credentials" linkText="Credentials" content="Unique access keys that we use to identify an integration in your account, linked to your application. For more information, see the link below."} will also be automatically created. Use the \*\*test credentials\*\* to perform all necessary configurations and validations in a secure test environment. When accessing test credentials, the following credential pairs will be displayed: :toolTipComponent\[Public Key\]{content="Public key used in the frontend to access information and encrypt data. You can access it through \*Your integrations > Integration data > Tests > Test credentials\*."} and the :toolTipComponent\[Access Token\]{content="Private key of the application created in Mercado Pago, that must be used in the backend. You can access it through \*Your integrations > Integration data > Tests > Test credentials\*."}. The test Access Token starts with the prefix \`APP\_USR\`, just like your production Access Token. !\[test credentials\](/images/snippets/credentials/app-data-test-credentials-es-v1.png) > NOTE > > If you are using an existing application, you will need to activate the test credentials. For more information, see the \[Credentials\](https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-preferences/additional-content/credentials) documentation.