Mesa Smith struts across a county fair stage to the beat of the song “I’m Still Standing” as her slender brown dog, Delta, weaves between her legs. Mesa turns, and Delta puts her front paws on her trainer’s back to dance behind her.

You might recognize Mesa and Delta from their June performance on the “America’s Got Talent” TV show, where they wowed judges with their dance routine — part of a performance by the Canine Stars Stunt Dog Show. Mesa, who’s 17 years old, is a trainer with Canine Stars, and she started working with dogs in Anchorage, Alaska, when she was just 7 years old.

“The bonds I have with my dogs are really special,” she says. “It’s amazing to get to train them to do all sorts of things, and then get to travel with them.”

Mesa’s parents started Alaska’s first flyball club. Flyball is a relay race in which two teams of dogs run alongside each other, leaping over hurdles to retrieve a ball. She began training with Zoya, the family’s rescued pug/sheltie.

“Actually, she trained me,” Smith says. “Dogs catch on really quickly, but you also have to train people. Zoya knew everything my parents had taught her, and she showed me how to work with her correctly.”

NBC Universal

Mesa has four dogs at home, and she trains them for competitive flyball, flying disc play, freestyle dancing, diving and agility (racing through an obstacle course). She also teaches dog agility classes. Sometimes she uses a clicker — a small device that allows her to make a clicking sound that indicates to the dog that it has performed the correct behavior. Other times,she uses a simple word such as “yes.”

“Training your dog helps with the bonding process,” she explains. “You’re teaching them what to do, and they’re thinking through tasks and figuring how to do them. They’re just so happy to get to work with you.”

Delta is her newest dog — Mesa describes her as a “mixy mix” of whippet, border collie and terrier. Members of the Canine Stars specialize in working with rescue dogs.

“Our goal is to show how amazing rescue dogs can be,” Mesa says.

Before their audition for “America’s Got Talent,” team members had to quarantine in hotel rooms because of the coronavirus pandemic. Mesa took advantage of the downtime. Part of her performance required her to collapse onstage in a shower of golden confetti, so she trained Delta to press her paws on Mesa’s chest, pretending to save her life.

Backstage, she packed her pockets full of Delta’s favorite food: burgers and chicken.

“With the lights and everything, it was a stressful environment, and I wanted to make sure she was super-happy,” she says. “Delta performed beautifully, but I really smelled for a while.”

A senior in high school, Mesa plans to study criminology at an out-of-state college. “I want to help people in the justice system, and I want to explore new areas of the country,” she says, “but after I get my degree, I’m moving back to Alaska. It’s my home.”

Training tips

Want to train your pets? Mesa shares five tips:

1. “Keep training sessions short — three to five minutes is perfect.”

2. “If you’re teaching a new behavior, use your pet’s favorite treat. As soon as your pet does what you ask, reward them.”

3. “Break a behavior down into small steps, and reward your pet for completing each step successfully.”

4. “I like to play with my dogs, so I reward them with toys once they’ve learned a new behavior. They learn to work for playtime, and not just for food.”

5. “Have fun with your pet. Keep everything positive, and always leave your pet wanting more because . . . they’ll want to keep working with you.”