Save panel as separated html and json files

How can I save panel as a separated html and json file then I will be able to upload json files on cloud and use them

pn.save('file.html', resources=INLINE, embed=True, embed_json=True)

I used this code and it created a folder and save json files there but html is not interactive, what should I do?