# Sandbox Seeding Quickstart Guide

This guide walks you through your first Sandbox Seed in 10 minutes. This walk through is also available as a [Seeding Product Demo Video](https://www.grax.com/start/salesforce-sandbox-seeding/)

## Prerequisites

You'll need two Salesforce orgs and one GRAX deployment with full Backup.

* `Source` production SFDC org with:
  * Data in SFDC such as many Accounts hierarchies to see
  * A report in SFDC such as `GRAX Training Accounts` that finds all accounts that have `Training` in the name
* GRAX Application with full Backups of the `Source` org
* `Target` sandbox or production SFDC org with:
  * Schema matching the `Source` org, but no data as made by SFDC sandbox refresh tooling

Here we will use:

1. [Source "Test Drive" org](https://grax-trial.lightning.force.com) which you can [log into the Test Drive org through the Salesforce App Exchange](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMtthUAD)
2. GRAX `Test Drive` App which you can [log into with a quick link](https://grax-trial-testdrive.us-east-1.jgaskagraxcom.dev.graxaws.com/web/seed?graxInternalSessionToken=uWVw5L4feZ.Bg91Hu8j0BQMWpkneRaxlKmiKKEMnSxwTB)
3. [Target "Demo Restore" org](https://graxsalesrestore.lightning.force.com/)

## Log into the Source Org

First [log into the Source org](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMtthUAD).

Next [log into the GRAX Application](https://grax-trial-testdrive.us-east-1.jgaskagraxcom.dev.graxaws.com/web/seed?graxInternalSessionToken=uWVw5L4feZ.Bg91Hu8j0BQMWpkneRaxlKmiKKEMnSxwTB).

GRAX has a `Sandbox Seeding User` permission to grant access to perform search and seeding operations, but not access to settings, archive tooling, etc.

## Pick a Seed Target

Now go to [New Sandbox Seeding](https://grax-trial-testdrive.us-east-1.jgaskagraxcom.dev.graxaws.com/web/seed/new?graxInternalSessionToken=uWVw5L4feZ.Bg91Hu8j0BQMWpkneRaxlKmiKKEMnSxwTB) and configure a Target org. Either add a Target org by connecting via OAuth, or reuse an existing one.

Here we have a Demo Restore org pre-configured as a target.

## Pick a Seed Source

Next configure the data you'd like to see.

Here we will seed from a Salesforce report. In Salesforce, create a report with data you'd like to seed. For example this [GRAX Training Accounts Report](https://grax-trial.lightning.force.com/lightning/r/Report/00O8V000008SiPwUAK/view?queryScope=userFolders) with all Accounts that have "Training" in the name. All reports with `GRAX` in the name or in a `GRAX` folder show up in the GRAX Application.

Then in the GRAX seeding source tool select the Report option and select the Training Accounts Report.

## Preview and Run the Seed

Now click through the seeding tool to preview the data hierarchy, record count. Here we see the report includes 3 Accounts and 100s of child Assets, Contacts, Cases, etc.

Continue to click through to execute the seed. After a final confirmation the seeding activity will start and show all the progress, success, or errors.

## Review Seed Data

Finally if you log into [Target "Demo Restore" org](https://graxsalesrestore.lightning.force.com/) you'll see all the data.

With a few clicks we've taken data from one Salesforce org to another, giving your development team a good dataset in a sandbox to work against.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.grax.com/reuse-data/sandbox-seeding/sandbox-seeding-quickstart-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
