It wasn’t easy getting this crap.

Dixieland Preserves is selling $200 jars of turds from 1997 Kentucky Derby and Preakness Stakes winner Silver Charm. How did they get their hands on it? It starts with a cat.

Kentucky artist Coleman Larkin works with epoxy resin, a preserving liquid, and wanted to put an encapsulated piece of feces from his pet on his desk.

“It’s difficult to work with. That went wrong,” Larkin told The Post of the process.

Larkin, who is in the middle of horse racing country, then went bigger with the idea, and after months of experimenting with horses from a local stable, found the right formula to properly maintain horse poop. Larkin had worked with the Kentucky for Kentucky website and knew they’d be into the “weird” idea.

“If I could figure out a way to do a horse turd, I knew that’d fit into their style perfectly,” Larkin said. “It took months to figure out how to do it, but I finally cracked the code.”

He then reached out to Coolmore Farms, which houses the last two Triple Crown winners — Justify and American Pharoah — to see if he could procure either of those champions’ horse crap.

“They were not into that idea at all,” Larkin said.

But he was friends with Michael Blowen, the owner of Old Friends Farm, which holds Silver Charm, and he was able to secure a willing partner. Larkin made 100 jars of the horse manure that is being sold on the Kentucky for Kentucky website.

“Equal parts art and novelty, these gorgeous nuggets of digested Kentucky bluegrass and whatever else horses eat were daringly harvested by the artist himself, fresh from the haunches of legendary 1997 Kentucky Derby winner Silver Charm at Old Friends Farm in Georgetown, KY,” the Kentucky site advertises them as.