Thanks for your response.
Is it same for tableau online? In such a case how to add Trusted IP address in online to get ticket and all?
Trusted auth is not available for Tableau Online. Check out these links about embedding Tableau Online and using SAML for login