docs/versioned_docs/version-2.68.0/data-sources/grpc.md
:::caution only self-hosted deployments will have access to a gRPC datasource that is capable of handling unary requests and responses. :::
Find instructions on how to do this in the setup guides located here: https://docs.tooljet.com/docs/setup/.
At the root, create a directory named "protos" and add a "service.proto" file inside it.
In the docker-compose.yml add
./protos:/app/protos
to the 2 volume sections for plugins and server
<div style={{textAlign: 'center'}}> </div> <div style={{textAlign: 'center'}}> </div>docker-compose up -d
After setting up your proto files, you should be able to establish a connection to gRPC by going to the global datasource page.
ToolJet requires the following to connect to gRPC servers:
Once you have added the gRPC from the global datasource page, you'll find it on the query panel of the application.
<div style={{textAlign: 'center'}}> </div>You can now query a particular RPC method of the added services.
<div style={{textAlign: 'center'}}> </div>