Okay.
1. Start SmileBASIC.
2. On the right side of the menu in the middle, you'll see a button that says upload/download projects. Click that.
3. Upload the program you want to publish to the cloud.
4. Press the publish button and select that file that you uploaded.
5. Click the download button to see the key for your program and share it!
Hope this helps!