How to integrate VTK with OpenGL?

I created a GLFWwindow window.
I suspect I need to “set” this window into vtkExternalOpenGLRenderWindow: correct? How to do that?

when I Render() on my vtkExternalOpenGLRenderWindow instance, I get:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x0
  Serial number of failed request:  8
  Current serial number in output stream:  9

When I comment the Render() call line, I get a black empty window (the GLFW one).