Frontend client
When Base44 generates your app, the SDK client is pre-configured and already imported in your frontend code. You’ll find it available asbase44.
Backend client
In backend functions, Base44 creates a client from the incoming request.Service role
By default, the client operates with user-level permissions, limiting access to what the current user can see and do. In backend code, you can use the service role to perform operations with the same access as your app’s admin. Service role access is only available in backend environments. A client with service role authentication allows backend code to:- Access data and operations with the same permissions as your app’s admin.
- Use admin modules like the
connectorsandssomodules.
base44.asServiceRole instead of directly on the client. For example, base44.asServiceRole.entities.Task.list() operates with the same access as your app’s admin, while base44.entities.Task.list() uses the current user’s permissions.

