Working with a Staging Area
Some connectors run where the source content tool initiates the process. When this happens, it pushes the content or changes to Data 360. Connectors of this nature require a Staging Area. Use these steps to create a Staging Area in Salesforce.
Prerequisite: Generate an SSH Key Pair
Before you create a staging area, generate an SSH key pair. The public key goes to Data 360. The private key stays on your computer. Flare uses this key when publishing.
Mac and Linux
- Open a terminal.
- Run this command:
1ssh-keygen -t rsa -b 4096 -C "your_email@example.com" - When prompted, enter a file path to save the key, or press Enter to accept the default (
~/.ssh/id_rsa). - When prompted for a passphrase, press Enter to leave it empty (no passphrase is required).
- The process creates two files: the private key (for example,
id_rsa) and the public key (for example,id_rsa.pub). Note the file paths: you need them in a later step. - To view your public key, run:
Copy and save the output in a secure location. You paste it into Data 360 in the next section.
1cat ~/.ssh/id_rsa.pub
Windows
- Open PowerShell or Command Prompt.
- Run the following command:
1ssh-keygen -t rsa -b 4096 -C "your_email@example.com" - When prompted, enter a file path to save the key, or press Enter to accept the default (
C:\Users\<YourUsername>\.ssh\id_rsa). - When prompted for a passphrase, press Enter to leave it empty (no passphrase is required).
- Two files are created: the private key (for example,
id_rsa) and the public key (for example,id_rsa.pub). Note the file paths — you need them in a later step. - To view your public key, run:
Copy and save the output in a secure location. You paste it into Data 360 in the next section.
1type C:\Users\<YourUsername>\.ssh\id_rsa.pub
Create a Staging Area
The push connectors use an SFTP staging area to receive content published from your content source. Before you create a connection, set up a staging area in Data 360.
- In Data Cloud, click Setup, and select Data Cloud Setup.
- From the left navigation menu, click Staging Area.
- Click New.
- Enter a name for the staging area.
- For Connection Type, select SFTP.
- Paste your SSH Public Key and give it a name and Save your changes. You can add multiple keys.
The SSH RSA public key is a text string made of three main parts: an algorithm identifier (ssh-rsa), a long block of Base64-encoded binary data containing the math numbers (e and n), and an optional comment (like an email address). When you paste the key, include the two equal signs (==), but do not include the email address. For example, if your key contains:
ssh-rsa [block of binary data]== sfdc\[email-address]-LTW1, paste:
ssh-rsa [block of binary data]==.
Note