{"section":"tutorials","requestedLocale":"en","requestedSlug":"integrating-with-farmacias-app","locale":"en","slug":"integrating-with-farmacias-app","path":"docs/en/tutorials/integrations/integration-settings/integrating-with-farmacias-app.md","branch":"main","content":"The Farmácias App is a mobile marketplace certified by VTEX. It is available for iOS and Android.\n\n## Access permission\n\nTo start the integration, it is first necessary to give permission to the Farmácias App integration key. It allows the marketplace to receive and send the updates needed for the &#8211 sales flow – regarding, for example, the receipt of catalogs, shipping calculations and sending of orders.\n\nTo configure the key, proceed as follows:\n\n1. Access the **Account Management** module;\n2. Click on the **Users** tab;\n3. Click on the **New user** button;\n4. Complete the **E-mail** and **Full name** fields as follows:\n\n**Email**: `vtexappkey-farmaciasapp-ISBSVR`\n**Name**: `farmaciasapp`\n\n_**Attention**: these fields must be filled out exactly as described above._\n\nThe **role** will be: IntegrationProfile-Fulfillment_Oms, IntegrationProfile-Fulfillment_Gateway\n\n![Farmacias1](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/integrations/integration-settings/integrating-with-farmacias-app_1.png)\n\nThen, click on **Save**.\n\nAfterwards, you will have to:\n\n1. [Create collection](/en/docs/tutorials/creating-a-product-collection/) (only if your store does not yet have a collection it wishes to allocate to the marketplace);\n2. Create a group by departament, category or sub-category;\n3. Create groups by brand;\n4. [Sales policy setup](/en/tutorial/configuring-a-marketplace-sales-policy/).\n\n## Configuring afiliate\n\nLastly, the affiliate must be registered, as it is the unique identity of the marketplace in your store. To do this, follow the steps below:\n\n1. Access the **Orders Managment** module;\n2. Click on the **Settings** button;![Farmacias2](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/integrations/integration-settings/integrating-with-farmacias-app_2.png)\n3. Click on the **Affiliates** tab;\n4. Click on the **New Affiliate** button;\n5. Complete the fields as follows:\n\n**Name**: Farmácias APP;\n**ID**: FPP;\n**Trade Policy**: _inform the ID of the sales policy_.\n**E-mail for notifications**: _e-mail of the person responsible for the integration_;\n**Search Endpoint**: https://integrador.farmaciasapp.com.br/Vtex/api/notification\n\n![Farmacias3](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/integrations/integration-settings/integrating-with-farmacias-app_3.png)\n\n_When the payments are processed using Farmácias App, the **Usar meu meio de pagamento** option must be disabled. Check this option only for payments processed in different environments, such as payments processed on the VTEX platform._\n\nOnce these steps are completed, you must send the following data to the Farmácias App:\n\n- Store Id Sales;\n- Channel;\n- Affiliate Id;\n- E-mail of the person responsible for the integration;\n- Phone number of the person responsible for the integration.\n\nIn the case of payments processed in environments external to the Farmácias App, the following data must also be sent:\n\n- Bank;\n- Bank code;\n- Branch of recipient’s account;\n- Branch digit;\n- Bank account number of the recipient;\n- Check digit of the recipient’s account;\n- CPF or CNPJ of the recipient.\n\nAfter this, the Farmácias App will do the necessary settings and tests, publishing several products in its catalog so as to place orders and test the end-to-end flow."}