Back

How to connect appwrite to metabase

  • 0
  • Self Hosted
  • Databases
  • Web
Lenolium
20 Apr, 2023, 18:22

Hi I am currently using appwrite happily and want to connect it to metabase how can I do that ?

TL;DR
To connect Appwrite to Metabase, you need to follow these steps: 1. Customize your stack in the Appwrite dashboard by going to Service Overview and clicking the Update Config button. 2. Expose the MariaDB container on a port and allow that port in the firewall settings. 3. Connect Metabase to the embedded MariaDB in Appwrite by using the exposed port. 4. For more information on how to list documents, collections, and databases in Appwrite, refer to the provided links for node.js client or REST/GraphQL APIs. 5. If you want to show analytics to clients, you can use Metab
Bouahaza
20 Apr, 2023, 18:59

You need to allow access to mariadb from metabase (via docker network on same server for ex). Thinks it's impossible on appwrite cloud ? Be careful though, appwrite databases aren't flat , I think that metabase is not usable in this context

Bouahaza
20 Apr, 2023, 19:00

Simpler way will be to create an ETL with appwrite Rest or graphql, and sync to external BI software

Bouahaza
20 Apr, 2023, 19:00

This is what we do on our side

Lenolium
20 Apr, 2023, 19:06

Which software are you recommending because we need it to show analytics to Clients of us

Bouahaza
20 Apr, 2023, 19:11

You can use metabase, but via export appwrite data to external postgres / mariadb

Bouahaza
20 Apr, 2023, 19:13

Depends wich metrics you want. If it's only document, it is relatively easy

Bouahaza
20 Apr, 2023, 19:13

Loops over databases > collection > document, and export to external database

Lenolium
20 Apr, 2023, 19:17

And how can I do that you mean I should export my Files to a DB ihave installed on the server

Bouahaza
20 Apr, 2023, 19:18

You rest api or graphql

Bouahaza
20 Apr, 2023, 19:18

Or nodejs client, depends

Bouahaza
20 Apr, 2023, 19:18
Bouahaza
20 Apr, 2023, 19:19
Bouahaza
20 Apr, 2023, 19:19
Lenolium
23 Apr, 2023, 22:26

Hi so I got this answer of my server provider when i asked for help :

Lenolium
23 Apr, 2023, 22:26

you can customize your stack by yourself for free in the dashboard > Service overview > UPDATE CONFIG button there you will have to expose the mariadb container on a port and allow that port in the firewall, then you will be able to connect from Metabase to that embedded MariaDB in Appwrite

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more