I need to know how to add a SPICE model of a diode to an existing symbol, or a new symbol. Here is the model id like to use.

.model D1N5817 D(Is=2.835u Rs=47.12m Ikf=.3227 N=1 Xti=0 Eg=1.11 Cjo=472.4p

+ M=.6215 Vj=.75 Fc=.5 Isr=37.75u Nr=2)

Im using spectre to run simulations. I found this post of someone who has done this but its not explained how it was accomplished. Is there an online tutorial that covers this, or can someone explain what file i can add my spice model to, and in what format. Thanks.