Add user to grafana as soon as he is added to keycloak

Hi there,
I have setup grafana with keycloak. So I wanna add a user as soon as he is added to keycloak. Currently the user gets added after logging to grafana at least once after I have added the email in keycloak. Is there a way to do it programatically without logging in?