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
* Create a new app, and create your first API key.
22
-
** Your API key will need the @publish@, @subscribe@, @presence@ and @history@ capabilities.
21
+
* Your API key will need the @publish@, @subscribe@, @presence@ and @history@ capabilities.
23
22
* Install the Ably CLI: @npm install -g @ably/cli@
24
23
* Run @ably login@ in the terminal and follow the prompts to provide an access token to the Ably CLI.
25
24
* Set the default app to use with @ably apps switch@ and select an API key to use for operations with @ably auth keys switch@.
26
-
27
25
* Install the Ably Pub/Sub JavaScript SDK in a new project within your IDE: @npm install ably@
28
26
27
+
<aside data-type='note'>
28
+
<p>The code examples in this guide include a demo API key. If you wish to interact with the Ably CLI and view outputs within your Ably account, ensure that you replace them with your own API key.</p>
29
+
</aside>
30
+
29
31
h2(#step-1). Step 1: Connect to Ably
30
32
31
33
Clients establish a connection with Ably when they instantiate an SDK. This enables them to send and receive messages in realtime across channels.
0 commit comments