Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ To set up Alloy's Embedded iPaaS, use the code snippet below:
```javascript
import { Embedded } from "alloy-node";

const apiClient = new Embedded("MY_API_KEY...);
const apiClient = new Embedded("MY_API_KEY...");
```

### Creating a User
Expand All @@ -85,7 +85,7 @@ Similar to Unified API, in order to make API calls to Alloy Embedded, you must f
let bodyData = {
username: `sara456`,
};
let data = await apiClient.User.createUser(body);
let data = await apiClient.User.createUser(bodyData);
```

Once you've created a user, you'll need to `identify` that user each time you make a call that requires a `userId`. Fortunately, the `identify()` method exists for this purpose.
Expand Down