How would i instantiate a prefab in the animation curve event?

I know how to play a sound on a animation curve event but cannot get the event to instantiate a prefab.

You can have the animationevent call a script, which in turn could do the instantation of the prefab.