add custom preview bd connection