Post Install Redirect in Jira Connect App

How do I redirect after successful installation like bitbucket in Jira connect app?
I want to create a relation of Atlassian context with my user id in the database. how do I do that?

installation cycle will trigger request with security context to my backend how do i get the reference that which user has installed this app?

anyone can help me on this?