Shamans earn the Earth Totem and Stoneskin Totem from the level 4 quest Call of Earth. Here is the route for Orcs, Trolls, Tauren, Dwarves and Skyborne.
The Earth Totem is the first Shaman totem in World of Warcraft: Forever. You get it from the level 4 class quest "Call of Earth", which also teaches you Stoneskin Totem.
The quest has the same three steps for every race: collect two items, drink the Earth Sapta at a spirit rock and speak with the Minor Manifestation of Earth, then bring the Rough Quartz back to your trainer.

Only the starting trainer and the place change between races. Here is every version at a glance:
| Race | Trainer | Items | Spirit Rock |
|---|---|---|---|
| Orc, Troll | Canaga Earthcaller, Valley of Trials | 2 Felstalker Hooves | Spirit Rock, Durotar |
| Tauren | Seer Ravenfeather, Camp Narache | 2 Ritual Salve | Kodo Rock, Mulgore |
| Dwarf | Teo Hammerstorm, Anvilmar | 2 Iceclaw Bear Pendants | Spirit Stone, Dun Morogh |
| Skyborne | Windshaper Boro, Thendal Grove | Signet of Akir | Rise of Spirits, Zephras Isle |
Canaga Earthcaller in the Valley of Trials, at /way 42.4, 69.0 in Durotar, gives you the first "Call of Earth". Bring Canaga two Felstalker Hooves from the Felstalkers in the nearby Burning Blade cave:

Canaga then hands you the Earth Sapta. Take the hidden path that starts around /way 44, 76 up to the Spirit Rock, drink the sapta there and speak with the Minor Manifestation of Earth that appears.

The elemental gives you the third "Call of Earth" and the Rough Quartz. Bring it back to Canaga to receive the Earth Totem.
Seer Ravenfeather at Camp Narache, at /way 44.3, 76.7 in Mulgore, starts the Tauren version. The seer asks for two applications of Ritual Salve from Brambleblade Ravine:

After that the seer gives you the Earth Sapta. Walk south of Brambleblade Ravine to Kodo Rock, around /way 52.8, 80.4, drink the sapta near the Spirit Rock and speak with the Earth Elemental.

Return the Rough Quartz to Ravenfeather for your Earth Totem and Stoneskin Totem.
Dwarf Shamans start with Teo Hammerstorm in Anvilmar, at /way 28.8, 66.2 in Dun Morogh. If you are already in Ironforge, Eldrun Stormbreaker or Ingrid Dunwald send you back to Teo with a short breadcrumb.

Teo wants two Iceclaw Bear Pendants, which come from the Frostmane trolls nearby, and then gives you the Earth Sapta. The path up the mountain starts around /way 25, 69, and the Spirit Stone is at the top around /way 24.8, 61.8.

Drink the sapta, speak with the Earth Elemental and bring the Rough Quartz back to Teo. Note: If you lose the sapta, Teo gives you a new one with the quest "Earth Sapta".
Skyborne start on Zephras Isle, so they have their own version at level 3. Windshaper Boro in Thendal Grove asks for a Signet of Akir, which drops from the Al'Aketh Converts nearby:

Boro then gives you the Earth Sapta. Follow the path that starts around /way 49, 23 up to the Rise of Spirits, drink the sapta near the Spirit Rock and speak with the Earth Elemental. Bring the Rough Quartz back to Boro to finish.
The Earth Totem sits in your bags and lets you cast your Earth totems, starting with Stoneskin Totem, which reduces the melee damage your party takes. Keep it, since every Earth totem you learn later needs it.
The next totem comes at level 10, see How To Get The Fire Totem As Shaman. At level 20 you go after the Water Totem, see How To Get The Water Totem As Shaman.