{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/es/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Inicio rápido","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"inicio-rápido","__idx":0},"children":["Inicio rápido"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ponte en marcha con la API MoreLogin en 5 minutos."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"automatización-del-navegador-api-local","__idx":1},"children":["Automatización del navegador (API local)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Escenario:"]}," Cree un perfil de navegador, ejecútelo, conéctese a través de Puppeteer para ejecutar un script y luego deténgalo."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"requisitos-previos","__idx":2},"children":["Requisitos previos"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Aplicación de escritorio MoreLogin ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["v2.15.0+"]}," instalada y ejecutándose localmente."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Puppeteer instalado (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["npm i puppeteer-core"]},")."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-1-crea-un-perfil-de-navegador","__idx":3},"children":["Paso 1: crea un perfil de navegador"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"http://127.0.0.1:40000/api/env/create/quick\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"browserTypeId\": 1,\n    \"operatorSystemId\": 1,\n    \"quantity\": 1\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Guarde el ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["envId"]}," de la respuesta (por ejemplo, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1993244721490239488"]},")."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-2-inicie-el-perfil-y-obtenga-el-puerto-de-depuración","__idx":4},"children":["Paso 2: inicie el perfil y obtenga el puerto de depuración"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"http://127.0.0.1:40000/api/env/start\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"envId\": \"1993244721490239488\"}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["La respuesta incluirá ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["debugPort"]}," (por ejemplo, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["12345"]},")."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-3-conecte-puppeteer-nodejs","__idx":5},"children":["Paso 3: Conecte Puppeteer (Node.js)"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"const puppeteer = require('puppeteer-core');\n\n(async () => {\n  const browser = await puppeteer.connect({\n    browserURL: 'http://127.0.0.1:12345'\n  });\n  const page = await browser.newPage();\n  await page.goto('https://www.morelogin.com');\n  console.log(await page.title());\n  await browser.disconnect();\n})();\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-4-detener-el-perfil","__idx":6},"children":["Paso 4: detener el perfil"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"http://127.0.0.1:40000/api/env/close\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"envId\": \"1993244721490239488\"}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"gestión-de-teléfonos-en-la-nube-api-abierta","__idx":7},"children":["Gestión de teléfonos en la nube (API abierta)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Escenario:"]}," Cree rápidamente un teléfono en la nube, inícielo, instale una aplicación y active una programación de RPA."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"requisitos-previos-1","__idx":8},"children":["Requisitos previos"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ID de API y clave de API desde el panel de MoreLogin."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-1-obtenga-el-token-de-acceso","__idx":9},"children":["Paso 1: Obtenga el token de acceso"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.morelogin.com/oauth2/token\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"client_id\": \"YOUR_API_ID\",\n    \"client_secret\": \"YOUR_API_KEY\",\n    \"grant_type\": \"client_credentials\"\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Guarde el ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["access_token"]}," de la respuesta."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-2-crear-e-iniciar-rápidamente-un-teléfono-en-la-nube","__idx":10},"children":["Paso 2: Crear e iniciar rápidamente un teléfono en la nube"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.morelogin.com/cloudphone/newMachine\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer YOUR_ACCESS_TOKEN\" \\\n  -d '{\n    \"androidVersion\": 10,\n    \"duration\": 30,\n    \"unit\": 1\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Guarde el ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," (ID del teléfono en la nube) de la respuesta."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-3-instalar-una-aplicación","__idx":11},"children":["Paso 3: instalar una aplicación"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Suponiendo que ya tienes un ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["appVersionId"]}," de la biblioteca de aplicaciones:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.morelogin.com/cloudphone/app/install\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer YOUR_ACCESS_TOKEN\" \\\n  -d '{\n    \"id\": 1673823102599682,  # Your Cloud Phone ID\n    \"appVersionId\": \"1672940217990530\"\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"paso-4-ejecutar-una-programación-de-rpa","__idx":12},"children":["Paso 4: ejecutar una programación de RPA"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ejecute un script de automatización preconfigurado en su nuevo teléfono en la nube:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.morelogin.com/cloudphone/rpa/onceTask/save\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer YOUR_ACCESS_TOKEN\" \\\n  -d '{\n    \"cloudPhoneId\": 1673823102599682,\n    \"scheduleName\": \"Daily Login Task\",\n    \"templateId\": 987654321\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"qué-sigue","__idx":13},"children":["¿Qué sigue?"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Objetivo"},"children":["Objetivo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Ir a"},"children":["Ir a"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Referencia completa de la API del perfil del navegador"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/es/api-reference/browser/local-api"},"children":["API del navegador"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Referencia completa de la API del teléfono en la nube"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/es/api-reference/cloud-phone/open-api"},"children":["API de teléfono en la nube"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Conéctese a través de ADB"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/es/api-reference/cloud-phone/adb"},"children":["Guía de conexión ADB"]}]}]}]}]}]}]},"headings":[{"value":"Inicio rápido","id":"inicio-rápido","depth":1},{"value":"Automatización del navegador (API local)","id":"automatización-del-navegador-api-local","depth":2},{"value":"Requisitos previos","id":"requisitos-previos","depth":3},{"value":"Paso 1: crea un perfil de navegador","id":"paso-1-crea-un-perfil-de-navegador","depth":3},{"value":"Paso 2: inicie el perfil y obtenga el puerto de depuración","id":"paso-2-inicie-el-perfil-y-obtenga-el-puerto-de-depuración","depth":3},{"value":"Paso 3: Conecte Puppeteer (Node.js)","id":"paso-3-conecte-puppeteer-nodejs","depth":3},{"value":"Paso 4: detener el perfil","id":"paso-4-detener-el-perfil","depth":3},{"value":"Gestión de teléfonos en la nube (API abierta)","id":"gestión-de-teléfonos-en-la-nube-api-abierta","depth":2},{"value":"Requisitos previos","id":"requisitos-previos-1","depth":3},{"value":"Paso 1: Obtenga el token de acceso","id":"paso-1-obtenga-el-token-de-acceso","depth":3},{"value":"Paso 2: Crear e iniciar rápidamente un teléfono en la nube","id":"paso-2-crear-e-iniciar-rápidamente-un-teléfono-en-la-nube","depth":3},{"value":"Paso 3: instalar una aplicación","id":"paso-3-instalar-una-aplicación","depth":3},{"value":"Paso 4: ejecutar una programación de RPA","id":"paso-4-ejecutar-una-programación-de-rpa","depth":3},{"value":"¿Qué sigue?","id":"qué-sigue","depth":2}],"frontmatter":{"seo":{"title":"Inicio rápido"}},"lastModified":"2026-06-10T11:47:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/es/api-reference/getting-started/quickstart","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}