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
* Your API key will need the `publish`, `subscribe`, `presence` and `history` capabilities
25
+
** Create a new app and get your API key
26
+
** You can use the root API key that is provided by default to get started.
27
27
28
28
h3(#prerequisites-ably-cli). Ably-CLI
29
29
@@ -44,25 +44,16 @@ h3(#prerequisites-create-project). Create a React Project
44
44
45
45
Create a new React + TypeScript project using Vite. For detailed instructions, refer to the "Vite documentation":https://vitejs.dev/guide/#scaffolding-your-first-vite-project.
46
46
47
-
<aside data-type='note'>
48
-
<p>You should see a directory structure similar to this:</p><code>
You will also need to setup Tailwind CSS for styling the application. For installation instructions, see the "Tailwind CSS documentation for Vite":https://tailwindcss.com/docs/guides/vite.
65
52
53
+
```[sh]
54
+
npm install tailwindcss @tailwindcss/vite
55
+
```
56
+
66
57
h3(#prerequisites-ably-chat). Ably Chat SDK
67
58
68
59
Ensure you have installed the Ably Chat SDK, this will also install the Ably Pub/Sub SDK as a dependency:
* Read more about using [rooms](https://ably.com/docs/chat/rooms) and sending [messages](https://ably.com/docs/chat/rooms/messages).
830
-
* Learn about [presence status](https://ably.com/docs/chat/rooms/presence).
831
-
* Set up [typing indicators](https://ably.com/docs/chat/rooms/typing).
832
-
* Send [reactions](https://ably.com/docs/chat/rooms/reactions) to express real-time feedback.
833
-
* Investigate pulling messages from [history](https://ably.com/docs/chat/rooms/history) for context.
831
+
Read more about the concepts covered in this guide:
832
+
* Read more about using "rooms":/docs/chat/rooms and sending "messages":/docs/chat/rooms/messages.
833
+
* Find out more regarding "online status":/docs/chat/rooms/presence.
834
+
* Understand how to use "typing indicators":/docs/chat/rooms/typing.
835
+
* Send "reactions":/docs/chat/rooms/reactions to your rooms.
836
+
* Read into pulling messages from "history":/docs/chat/rooms/history and providing context to new joiners.
837
+
* Understand "token authentication":/docs/authentication/token-authentication before going to production.
834
838
835
-
Explore the Ably CLI further, or check out the [Chat JS API references](https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/modules/chat-js.html) for additional functionality.
839
+
Explore the Ably CLI further,
840
+
or check out the "Chat JS API references":https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/modules/chat-js.html for additional functionality.
0 commit comments