Skip to content

Commit 41a06c0

Browse files
authored
Kernel SDK Installation Instructions (#38)
* Kernel SDK Installation Instructions Added instructions for installing Kernel SDK in a project. Locations determined by key entry points into docs. * Ordering Clean up Cleaned up the order of languages listed. * Update casing Updated casing so it matched existing standard + so auto-switching of all code snippets on a page in unison would work.
1 parent dfe13b0 commit 41a06c0

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

apps/develop.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,19 @@ An `Invocation` is a single execution of an action. Invocations can be triggered
1919

2020
## Getting started: create an app
2121

22-
First, install the Kernel SDK and create an app.
22+
First, install the Kernel SDK for your language:
23+
24+
<CodeGroup>
25+
```bash Typescript/Javascript
26+
npm install @onkernel/sdk
27+
```
28+
29+
```bash Python
30+
pip install kernel
31+
```
32+
</CodeGroup>
33+
34+
Then create an app:
2335

2436
<CodeGroup>
2537
```typescript Typescript/Javascript

browsers/create-a-browser.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Kernel browsers were designed to be lightweight, fast, and efficient for cloud-b
99

1010
## 1. Create a Kernel browser
1111

12+
<Info>
13+
First, install the Kernel SDK:
14+
- Typescript/Javascript: `npm install @onkernel/sdk`
15+
- Python: `pip install kernel`
16+
</Info>
17+
1218
Use our SDK to create a browser:
1319

1420
<CreateBrowserSnippet />

introduction.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ Kernel is a developer platform that provides Crazy Fast Browser Infrastructure f
77

88
## kernel.browsers.create()
99

10+
<Info>
11+
To use the Kernel SDK, install it first:
12+
- Typescript/Javascript: `npm install @onkernel/sdk`
13+
- Python: `pip install kernel`
14+
</Info>
15+
1016
If you are already familiar with browser vendors, you can immediately start using our browsers with `kernel.browsers.create()`. We return a CDP url that you can connect any Playwright or Puppeteer automation to.
1117

1218
<CodeGroup>

0 commit comments

Comments
 (0)