You can upload your index.html file to assets and use WebViewer:
for the kml file, you can find several examples in the community. SteveJG has some good examples like this: