If you're trying to create a live connection to a hosted data source or if you're receiving the following error:
"The Tableau server you are publishing to does not permit external database connections."
Follow the steps below to ensure you're ready to connect to a hosted data source:
1. Make sure that the "Live Data Source Connection" did not get un-checked on the 'Settings' Page as this error is often seen when the box is unchecked.
2. Ensure database credentials are embedded when publishing the workbook.
3. Add the Tableau Online IP Address Range to your data provider's whitelist