The api/db connection requests marked on the flowchart are charged per unit, this makes up the total cost of integration, the more connections you need, the more work you need.
The complexity of the authorization algorithm depends on the number of conditions, and they are also charged per unit.