Create a success page

After the user authorizes your client, you’re all set. Well, almost. The last important step is storing the refresh-token you get back during the flow and map it to the customer or hotel on your side.

You can also use this as a trigger to initialize the integration. You can do this automatically, fetching all the data you need from apaleo, or manually. You can also combine both: Get all rate plans and let the user do the mapping to your rate codes. Get all rooms, and generate a housekeeping schedule from it, which needs further adjustment. The more you can do automatically, the better the Wow effect.

Do not forget to display a success message, preferably one that directly shows that the integration works. Think about including the hotel name you just fetched from apaleo or the number of rooms you found.