Need help with persistent entities.

Okay, so basically, I have an entity that I want to spawn automatically in the same location each time the server (re)starts. How would I do this?

I know it’s related to


Entity:SetPersistent(boolean persist) 

but where does that line of code actually go?
Thanks.

Anyone?