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: website/docs/quickstart.md
+50-10
Original file line number
Diff line number
Diff line change
@@ -67,26 +67,66 @@ We'll only be shown this access key once, so we'll need to store it somewhere sa
67
67
68
68
## Using the SE2 SDK
69
69
70
-
We'll need to supply our environment variables (our environment access key and the name of our environment) to SE2. Within the directory that contains our app, we'll:
70
+
SE2 provides client libraries for Go and Node.js. Start by installing the client:
71
71
72
-
- Create a file named `.env`
73
-
- Within our new `.env` file, we'll add our environment variables:
72
+
<TabsgroupId="tenant-creation">
74
73
75
-
-`SUBORBITAL_TOKEN` is our environment's access key
76
-
-`SUBORBITAL_ENV` is the name we gave our environment
74
+
<TabItemvalue="tenant-go"label="Using Go">
77
75
78
-
- Next we'll need to export those variables by running:
76
+
```go
77
+
Go version goes here
78
+
```
79
79
80
-
```bash
81
-
set -a
80
+
</TabItem>
81
+
82
+
<TabItemvalue = "tenant-js"label = "Using JS">
83
+
84
+
```js
85
+
JS version goes here
82
86
```
83
87
84
-
- And then:
88
+
</TabItem>
89
+
90
+
</Tabs>
91
+
92
+
Next, initialize the client with your environment access key:
Suborbital lets an application's users create their own secure, sandboxed plugins, carefully isolated from the core of the system and one another. For this reason, we will create a new tenant, which is a user account with its own plugins inside Suborbital. Our application will then connect the tenant with one of its own internally-maintained users.
0 commit comments