If all you have (or will have) is the Win 10 Preview, will will need to actually purchase something from MS.
You can't upgrade, for free, directly from the Tech Preview to the release. And the Tech Preview runs out on Oct 1, 2015.
The free upgrades to Win 10 are for current Win 7/8.1 owners.