I recommend setting up the SpiceDB client on your server. Your frontend can make a request to the backend server where the SpiceDB client is and the client can then make a request to SpiceDB. We don't recommend running the SpiceDB client in the browser.