diff --git a/README.md b/README.md
index ecc2f8f..efddab5 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,7 @@
-# @zitadel/react Example
+# @zitadel/react Quickstart SPA
+
+
+
Authenticate your [ZITADEL](https://zitadel.com) users within your React applications.
@@ -71,3 +74,49 @@ See the section about [deployment](https://facebook.github.io/create-react-app/d
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
+
+## Setup Instructions
+
+1. **Log into the Zitadel Customer Portal**
+ Go to the [Zitadel Customer Portal](https://zitadel.com/admin/dashboard)
+
+2. **Create an Instance**
+ - Choose a region and create your new instance.
+
+3. **Create a Project**
+ - Inside your instance, go to Projects -> Create New Project
+
+
+
+4. **Create an Application**
+ - New **"User Agent"**
+ - Select **"PKCE"**
+ - Enable **"Development Mode"**
+ - Configure your **Redirect URI** and **Post Logout URI** (`http://localhost:3000` for local testing)
+ - Click **"Continue"** and **"Create"**
+ - Copy the **"Client ID"**
+
+
+
+5. **Change your token type to `JWT` in your application settings**
+
+
+
+6. **Configure `ZitadelConfig`**
+Open `src/App.tsx` and replace the placeholder values with your application info:
+
+```js
+const config: ZitadelConfig = {
+ authority: "https://CUSTOM_DOMAIN",
+ client_id: "YOUR_CLIENT_ID",
+ redirect_uri: "http://localhost:3000/callback",
+ post_logout_redirect_uri: "http://localhost:3000",
+ response_type: 'code',
+ scope: 'openid profile email'
+};
+```
+
+7. **Run the application**
+```bash
+yarn start
+```
diff --git a/assets/new_application.png b/assets/new_application.png
new file mode 100644
index 0000000..d227121
Binary files /dev/null and b/assets/new_application.png differ
diff --git a/assets/new_project.png b/assets/new_project.png
new file mode 100644
index 0000000..71da1d7
Binary files /dev/null and b/assets/new_project.png differ
diff --git a/assets/token_settings.png b/assets/token_settings.png
new file mode 100644
index 0000000..2a2956a
Binary files /dev/null and b/assets/token_settings.png differ
diff --git a/package.json b/package.json
index 711fdd9..2a177cc 100644
--- a/package.json
+++ b/package.json
@@ -11,13 +11,14 @@
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@zitadel/react": "link:./lib",
+ "bootstrap": "^5.3.8",
+ "oidc-client-ts": "^2.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.3",
"react-scripts": "5.0.1",
"typescript": "^4.4.2",
- "web-vitals": "^2.1.0",
- "oidc-client-ts": "^2.4.0"
+ "web-vitals": "^2.1.0"
},
"scripts": {
"start": "react-scripts start",
diff --git a/public/index.html b/public/index.html
index aa069f2..376795e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,43 +1,20 @@
-
-
-
-
-
-
-
-
-
-
- React App
-
-
-
-
-
-
-
+