2019-10-10 07:55:28 +13:00
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
Initialise the Appwrite SDK in your code, and setup your API credentials:
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
2020-12-24 11:39:48 +13:00
|
|
|
// Init your Web SDK
|
2019-10-10 07:55:28 +13:00
|
|
|
var appwrite = new Appwrite();
|
|
|
|
|
|
|
|
appwrite
|
|
|
|
.setEndpoint('http://localhost/v1') // Set only when using self-hosted solution
|
|
|
|
.setProject('455x34dfkj') // Your Appwrite Project UID
|
|
|
|
;
|
|
|
|
|
|
|
|
```
|