# Hub Button - For External Apps > If `installId` is defined, hub button works as integrated, showing "view integration". If `installId` isn't defined, hub button works as new integration, showing "Integrate with Pagar.me"; >
> If `environment` is defined as `dev`, hub button will take you to the `development` environment, otherwise to the `production` environment; ```html Test Hub Button ``` ![Hub Button - by locations](https://i.imgur.com/NaQgFzv.png)