https://cerbos.dev logo
#help
Title
# help
s

Sai Kumar Gade

11/21/2023, 9:28 AM
Hello all, I want to use Cerbos in front end application using React, any suggestions how to start with? Thanks
o

oguzhan

11/21/2023, 9:35 AM
Hi @Sai Kumar Gade, Typically, backend will query the cerbos instance deployed alongside your backend when the frontend sends a request to the backend. Depending on the outcome of cerbos check request, backend responds to the frontend whether or not the action is authorized. In addition to this
service
approach, there is another one we call
embedded
where you build your policies with Cerbos Hub and embed it into your frontend. Typically, this is used to decide what to display (a panel, or a button perhaps) in the frontend without going back and forth between your frontend and backend (and cerbos instance).
e

Emre (Cerbos)

11/21/2023, 9:55 AM
s

Sai Kumar Gade

11/21/2023, 10:54 AM
Many thanks for the information
will check it out
3 Views