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
Copy file name to clipboardExpand all lines: README.md
+67-4Lines changed: 67 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,21 @@
1
1
# Base44 JavaScript SDK
2
2
3
-
The Base44 SDK provides a JavaScript interface for building apps on the Base44 platform. When Base44 generates your app, the generated code uses the SDK to authenticate users, manage your app's data, interact with AI agents, and more. You can then use the same SDK to modify and extend your app.
3
+
The Base44 SDK provides a JavaScript interface for building apps on the Base44 platform.
4
+
5
+
You can use it in two ways:
6
+
7
+
-**Inside Base44 apps**: When Base44 generates your app, the SDK is already set up and ready to use.
8
+
-**External apps**: Use the SDK to build your own frontend or backend that uses Base44 as a backend service.
9
+
10
+
## Installation
11
+
12
+
Install the SDK via npm:
13
+
14
+
```bash
15
+
npm install @base44/sdk
16
+
```
17
+
18
+
> **Note**: In Base44-generated apps, the SDK is already installed for you.
4
19
5
20
## Modules
6
21
@@ -12,11 +27,15 @@ The SDK provides access to Base44's functionality through the following modules:
12
27
-**[`connectors`](https://docs.base44.com/sdk-docs/interfaces/connectors)**: Manage OAuth connections and access tokens for third-party services.
13
28
-**[`entities`](https://docs.base44.com/sdk-docs/interfaces/entities)**: Work with your app's data entities using CRUD operations.
-**[`integrations`](https://docs.base44.com/sdk-docs/type-aliases/integrations)**: Pre-built server-side functions for external services.
30
+
-**[`integrations`](https://docs.base44.com/sdk-docs/type-aliases/integrations)**: Pre-built integrations for external services.
16
31
17
-
## Example
32
+
## Quick starts
18
33
19
-
Here's a quick look at working with data in the SDK, using the `entities` module to create, update, and list records. In this example, we're working with a custom `Task` entity:
34
+
How you get started depends on your context:
35
+
36
+
### Inside a Base44 app
37
+
38
+
In Base44-generated apps, the client is pre-configured. Just import and use it:
0 commit comments