Skip to content

Commit f5c0747

Browse files
committed
Update README.md
1 parent 2cce89e commit f5c0747

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

README.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,40 @@
77

88
The BrowserUse TypeScript library provides convenient access to the BrowserUse APIs from TypeScript.
99

10-
## Two-Step QuickStart
10+
## Three-Step QuickStart
1111

12-
1. ☝️ Get your API Key at [Browser Use Cloud](https://cloud.browser-use.com)...
12+
1. 📦 Install BrowserUse SDK.
1313

14-
1. ✌️ Automate the web!
14+
```sh
15+
# NPM
16+
npm i -s browser-use-sdk
1517

16-
```ts
17-
import { BrowserUseClient } from "browser-use-sdk";
18+
# Yarn
19+
yarn add browser-use-sdk
1820

19-
const client = new BrowserUseClient({
20-
apiKey: "bu_...",
21-
});
21+
# PNPM
22+
pnpm add browser-use-sdk
23+
```
2224

23-
const task = await client.tasks.createTask({
24-
task: "Search for the top 10 Hacker News posts and return the title and url.",
25-
});
25+
1. 🔑 Get your API Key at [Browser Use Cloud](https://cloud.browser-use.com)!
2626

27-
const result = await task.complete();
27+
1. 🦄 Automate the Internet!
2828

29-
console.log(result.output);
30-
```
29+
```ts
30+
import { BrowserUseClient } from "browser-use-sdk";
31+
32+
const client = new BrowserUseClient({
33+
apiKey: "bu_...",
34+
});
35+
36+
const task = await client.tasks.createTask({
37+
task: "Search for the top 10 Hacker News posts and return the title and url.",
38+
});
39+
40+
const result = await task.complete();
41+
42+
console.log(result.output);
43+
```
3144
3245
> The full API of this library can be found in [api.md](api.md).
3346

0 commit comments

Comments
 (0)