Elasticsearch as jobstorage

We are planing to use hangfire for our background job.we want to use elasticsearch as part of job storage.Could u please guide us how we can do this.Any help will be appreciated.