You can add gelatin to your primary once fermentation is complete, cold crash and bottle, or add to your bottling bucket when you bottle. Either should work, just make sure that you bloom, then melt the gelatin by heating it to 150 degrees f.
Next time you could probably skip the secondary and...