You can use a Tableau V3 connection to create a .hyper file in a directory on the Secure Agent machine, and then publish the .hyper file to Tableau Server or Tableau Cloud.
Use the Tableau V3 connection when you create a target object in a mapping task.