You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Custom integrations allow workspace administrators to connect any external API by importing an OpenAPI specification. Apps in the workspace can then call these integrations using this module.
* Integrations module for calling integration endpoints.
354
+
* Integrations module for calling integration methods.
355
355
*
356
-
* This module provides access to integration endpoints for interacting with external
357
-
* services. Integrations are organized into packages. Base44 provides built-in integrations
358
-
* in the `Core` package.
356
+
* This module provides access to integration methods for interacting with external services. Unlike the connectors module that gives you raw OAuth tokens, integrations provide pre-built functions that Base44 executes on your behalf.
359
357
*
360
-
* Unlike the connectors module that gives you raw OAuth tokens, integrations provide
361
-
* pre-built functions that Base44 executes on your behalf.
358
+
* There are two types of integrations:
362
359
*
363
-
* Integration endpoints are accessed dynamically using the pattern:
* - **Built-in integrations** (`Core`): Pre-built functions provided by Base44 for common tasks such as AI-powered text generation, image creation, file uploads, and email. Access core integration methods using:
361
+
* ```
362
+
* base44.integrations.Core.FunctionName(params)
363
+
* ```
364
+
*
365
+
* - **Custom integrations** (`custom`): Pre-configured external APIs. Custom integration calls are proxied through Base44's backend, so credentials are never exposed to the frontend. Access custom integration methods using:
* <Info>To call a custom integration, it must be pre-configured by a workspace administrator who imports an OpenAPI specification.</Info>
365
371
*
366
372
* This module is available to use with a client in all authentication modes:
367
373
*
368
-
* - **Anonymous or User authentication** (`base44.integrations`): Integration endpoints are invoked with the current user's permissions. Anonymous users invoke endpoints without authentication, while authenticated users invoke endpoints with their authentication context.
369
-
* - **Service role authentication** (`base44.asServiceRole.integrations`): Integration endpoints are invoked with elevated admin-level permissions. The endpoints execute with admin authentication context.
374
+
* - **Anonymous or User authentication** (`base44.integrations`): Integration methods are invoked with the current user's permissions. Anonymous users invoke methods without authentication, while authenticated users invoke methods with their authentication context.
375
+
* - **Service role authentication** (`base44.asServiceRole.integrations`): Integration methods are invoked with elevated admin-level permissions. The methods execute with admin authentication context.
370
376
*/
371
377
exporttypeIntegrationsModule={
372
378
/**
@@ -375,22 +381,7 @@ export type IntegrationsModule = {
375
381
Core: CoreIntegrations;
376
382
377
383
/**
378
-
* Custom integrations module for calling workspace-level API integrations.
379
-
*
380
-
* Allows calling external APIs that workspace admins have configured
0 commit comments