Hello,
Both of these editors are done using Javascript. So using them is pretty easy. Below snippet, shows you the minimal configuration required to turn a textarea into a TinyMCE editor.
<html>
<head>
...
<script type="text/javascript" src="<your installation path>/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
selector: "textarea"
});
</script>
</head>
<body>
<form method="post">
<textarea></textarea>
</form>
</body>
</html>
For CKEditor you shall find following CP articles really useful.
Regards,