we can add datasource in tableau desktop and publish to Tableau server.
We can use the published datasource in Tableau server and we have no option to connect new datasource.
Use desktop to connect datasource.
So the Tableau desktop and server are two separate distributions and need download and install them individually, is it? and they are the must components for useful-installation?
Are the desktop and server licensed separately?
Alternatively, you can create TDEs with (Python, Java, C++ or C) and Publish them to the server with Tableau SDK.
I have used Python and Tableau SDK to perform such tasks, where I did not involve Tableau Desktop at all. For a good example