Automatic captions are currently only available for iOS.
To add automatic captions to a video you will need to use an "Auto-Captions" template that you can find in the "Templates" tab.
Upload your video in to the background and choose the language, the captions will be automatically generated and you can even edit them in the timeline!