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: node/README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,19 @@ node index.js
28
28
29
29
Explore the app to learn more about embedding Metabase charts and dashboards in applications. You can also check out the links to more documentation in the parent repository's main [README](../README.md).
30
30
31
+
## Charts don't work
32
+
33
+
1. Go to your Metabase at `localhost:3000`.
34
+
2. Click on the **gear** icon > **Admin settings**.
35
+
3. Click **Embedding > **Standalone embeds**.
36
+
4. Check that the embedding secret key matches the embedding key in `index.js`.
37
+
5. If the keys don't match, copy the secret key from your **Admin settings** and replace the secret key in the `index.js` file.
38
+
39
+
If that doesn't work, try cloning a fresh repo and running a new JAR file.
40
+
31
41
## Example embedding code
32
42
33
43
You can find example code for Metabase embeds for:
34
44
35
45
-**Charts**. See [views/chart.pug](views/chart.pug).
36
46
-**Dashboards**. See [views/dashboard.pug](views/dashboard.pug).
0 commit comments