Upload a Semantic Model to a Git Repository Using SSH

An SSH connection uses a key that you generate in Oracle Analytics and copy into your Git account to create an SSH key. You use this key to initialize and connect to a Git repository without needing to supply a Git user name and password.

Use an SSH connection to access a Git repository in a private network.
Before you can use SSH to connect to, initialize, and upload a semantic model to an empty Git repository, you must:
  • For a Git repository in a private network, confirm that your administrator set up a private access channel between your Oracle Analytics Cloud instance and the Git repository and provided you with the DNS zone to access through the private channel. For more information, see About Private Access Channels.
  • Go to Git and create an empty repository.
  • Copy the empty repository's URL needed to initialize the Git repository.
  • Decide whether to create a Git profile or use an existing profile to authenticate to the Git repository. An existing profile is a profile that you use with other semantic model Git repositories. See View and Manage Git Profiles.
  • Create and save the semantic model to upload to the Git repository.
After you've uploaded the semantic model to the Git repository, provide the URL to your development team members. Developers use this URL to clone the Git repository to their development environments.
  1. On the Home page, click Navigator Navigator menu and then click Semantic Models.
  2. In the Semantic Models page, click a semantic model to open it.
  3. Click Toggle Git Panel Toggle Git panel open or close to open the Git pane.
  4. In the Git pane, click Start.
  5. In Initialize Git, enter the repository's URL:
    • For Git in a public cloud, use this format: git@gitserver.com:myorg/myproject.git
    • For Git in a private network, use this format: git@gitserver.companyabc.com/myproject.git, where companyabc.com is the private channel's DNS zone that your administrator set up in the private access channel.
  6. Click Continue.
  7. Click Git profile.
  8. Optional: If you want to use a Git profile that you've already used to initialize or clone a Git repository, then select an existing profile.
  9. Optional: If you want to create a profile, then select New Profile and click Generate Key.
  10. If you completed the previous step to create a profile and generate a key, then click Copy Key, go to your Git account, and use the copied key to create an SSH key. Then return to the Oracle Analytics Initialize Git wizard.
  11. Click Initialize Git.