Pick a clear, memorable spot first, because you will want to find the tree again. If something is already growing there, hit it three times with an axe to fell it, then dig the stump out with a golden shovel.
Take bells out of your inventory — 50,000 or more is the usual recommendation — and bury the lump in the hole. The amount matters directly: 50,000 bells gives roughly a 50% chance, 60,000 gives 60%, 70,000 gives 70%, and so on. More bells, better odds.
Wait four days and the tree will have grown. Shake it and you receive 90,000 bells, keeping whatever was left over. Unlike a fruit tree, this one is finished after a single shake — the money never regrows.