First get the online account and then publish it. do you have online in your company.
its not a open source.
Please find the details below
Your user account is not set up as a licensed user. or the Tableau Online trial site has expired and is no longer accessible for login.
Please mark the answer as CORRECT & HELPFUL if it really helped you so that it can help others.