Embedding Filtered Dashboard

Hello
“Embeding dashboard in an application” with JWT token. where should I add the Insert this code snippet in your server code to generate the signed embedding URL.
which file on my server.
have installed composer require lcobucci/jwt

Please help

Depends on what programming language and system you want to embed into - for PHP and Drupal i tried giving a pointer in the Need Help- Passing customer ID to metabse Dashboard in Drupal thread.

A few examples for different languages are in this repo: https://github.com/metabase/embedding-reference-apps