# Build apps for Lia Source: https://docs.lialabs.org/
Your web app opens inside the Lia app, in front of people who already use it every day. Add one script and every player arrives signed in, in their own language and theme, with $LIA payments, invites and the rest already built.
Lia.init() gives you the player, a session token, their language and theme. Everything else is a call away.Lia.pay("extra-lives") with the id of one of your products.paid.pay() answers { chargeId, productId }. A charge.paid webhook goes to your server too.delivered. Or, if it can't, refunds it.Lia.requestNotifications() at a good moment, and Lia asks in its own sheet. People can also turn your app's notifications on or off from its ⋯ menu.POST /notifications with the player's id, the text and an optional startParam.startParam.POST /lobby/tables with its id, its host, the seats and a title. Lia only keeps the listing; the game, its seats and its rules stay on your server.Lia.lobby.tables(), or in Lia's own lobby in the Apps Center, which opens your app with the startParam lobby-<table id>.POST /lobby/tables/:id/sit with the player's id. Lia refuses people the host blocked or who blocked the host, and full tables.Lia.init() to /api/login.