All Windows 8/8.1 computers come with a restore partition. You should be able to reinstall Win 8 from that.
If you blew away the restore partition, or you want to set up the computer a different way than the factory default, you can still create a Windows 8/8.1 recovery flash drive by using your Windows key and downloading the 4-8 GB recovery image from Microsoft.
Instructions for finding your key and creating recovery image:
http://dellwindowsreinstallationguide.com/download-microsoft-windows-and-office/download-microsoft-windows/download-windows-8-1-retail-and-oem-iso/
Microsoft site for creating recovery image.
http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media